-
- EventHandler using C# ( Urgent )
by Hadi.84
- 2 Replies
- Last post
by Hadi.84
- Salaam,
iam a vb.net programmer and iam working on c# project now ,i wanna use events and event handler in my application
i know how to do it in vb.net but in c# not yet
for example :
Code Snippet
' here i raise the event on adding the item
Public Class EventClass
Private m_item as string
Public Event OnAddItem(ByVal item as String)
Public Sub New()
-
- Drag/Drop picturebox
by WidgetWorking
- 9 Replies
- Last post
by Tall Dude
- I got the code below from the Microsoft site to drag and drop an image from one picturebox to another, but am getting two error messages: Name m_MouseIsDown is not declared, and that I was using m_MouseIsDown before giving it a value. The Microsoft site didn't declare them or give them a value, and I'm not that good at it yet, especially when I don't know what type they are, and am really lousy at
-
- question about my threads
by chris441962
- 4 Replies
- Last post
by chris441962
- Hello.
this may be an unusual question, but i was wondering if I can
delete my threads, or do I use the unsubscribe button
Its just that av got quite a few threads and all but this and my last thread have been answered and a thought it might free up some space in here by removing the threads thats been answered and finished with.
Thank you.
-
- Using VScrollBar
by Shady9399
- 2 Replies
- Last post
by Shady9399
- Hello! I Would like to learn use Vertical ScrollBar. For exemlpe I wont to put many controls on my form, and than "move" this controls with VscrollBar. I can't find any help to this topic! Than You ;)
-
- Visual Basic 2005 Express Edition Data Binding is not updating the database
by abarone
- 14 Replies
- Last post
by Imperabe
- Hi Microsoft Community, I'm a new visual basic developer and am using the visual basic 2005 express edition with sql server 2005 express edition. I've been going through some lessons and have encountered a situation that I'm hoping someone can identify what the issue is. When creating a form with listbox and textbox components, I first request data from a table called customer. I'm usi
-
- Searching a Text box (VB express 2005) .. URGENT please help me out..
by JoeyZ
- 4 Replies
- Last post
by JoeyZ
- ok people, my first post, im relativly new to vb express and currently making a login section for my project...
i have a save, load and delete button where the user would be able to choose from.. i have the save section working where the user would enter thier username and password and it would save to a text box located in c:\ .. that all works.. with my load section i ask the user to input th
-
- How can I get the current Browser URL?
by DOSrelic
- 14 Replies
- Last post
by orcmid
- I have the need to automatically get the current page's URL for the user, how can I do that in VC++ 2005 express please
-
- Profile problem
by _Nightblade_
- 6 Replies
- Last post
by Brendan Grant
- Hello
My program is starting to get the better of me.
for some reason it whil not allow me to create a way that,
all the work of one person is stored in one file,
and is isolated from a other person useing the program.
Now i have some files that i have to sort
every time differant people run this program.
I am a starter and don't no where to start
Please hel
-
- Patrice Pelland's 'Microsoft Visual Basic 2005 Express Edition: Build a Program Now! - Where are the Icons?
by AngelinaPerez
- 8 Replies
- Last post
by Martin Xie - MSFT
-
- Mouse and Keyboad events question
by price1
- 9 Replies
- Last post
by nobugz
- I am trying to process some data using an external application. This external application processes data from a binary file and performs some algorithm on it. I would like to automate processing these files and send the processed data to the database. To do this I have tried to use the user32.dll library and the FindWindowA, mouse_event and setCursorPos functions. I am also using the SendKeys func
-
- Selection Box On An Image
by Caneman312
- 7 Replies
- Last post
by Caneman312
- Hi, I am trying to create an application that allows you to select a sertain part of a map. if you click and drag your mouse, a box will be drawn showing what you have selected and once you release the mouse, it should save the box. I have tryed many times and looked for tutorials for this but the result i get is Loads of boxies on the screen like... all the places i dragged to, the box stays the
-
- Can't even download
by Dysfunkt
- 2 Replies
- Last post
by Figo Fei - MSFT
- Hi all,
I tried to download C# and I get a page that is not accessible.
I even went to the BIT site to make sure my XP is up to date
and get the same thing there. I really want to try out that XNA
because I love gaming but can't download any of the tools needed
to use it. Could you possibly tell me what I need to do to be able to
download those things (Visual C# 2005).
I'm not
-
- Shell Properties Window?
by Fase
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Looking for a way to have that form that you see when you right click a file and click properties in windows. I have a ListView of files and want to be able to properties them without making my own window if necesssary.
-
- saving a file in windows vista using VB Express...
by Ron M.
- 2 Replies
- Last post
by Ron M.
- I apologize if this question has been answered before. I looked through the forum, but was unable to come up with an answer that worked. I am trying to learn Visual Basic and am trying to follow through in a book... ' Beginning Visual Basic 2005 Express Edition: From Novice to Professional '. I have been following through with the programming examples in the book and things have been great until I
-
- Can't uninstall - none of the solutions listed here are working
by xCarlx
- 3 Replies
- Last post
by xCarlx
- I have the same problem as many others:
"[...] /vs_setup.msi could not be opened."
The first time I tried to uninstall I got the paused status bar, but now, even after installing the program again, I only get the "could not be opened" message, so the "end the task" solution can't be used.
I reinstalled and registered it, but the same thing happens.
This is
-
- ToolStrip items disappeared after an error message
by Marlon de Graaf
- 4 Replies
- Last post
by juxpin
- Hi everybody,
I'm using VB Express for some weeks now, but it came up with a strange thing.
I removed a resource from the resource list in the application properties and just after a while, out of the blue, an error message appeared. VB couldn't find the resource file I removed.
I believe the "app.vbproj" file came up with the code, telling the resource file should still exists.
-
- Events for ComboBox thats inside a dataGridView
by JGLP
- 14 Replies
- Last post
by JGLP
- Hi How can i access the events of a comboBox that is inside of a cell (on dataGridView) For example i have a dataGridView with one Row. the first cell have a comboBox with "name", "date", and "age". i need to make an event when i click "name" on the comboBox, inside the second cell of the same row, will appear "paul". thanks!!
-
- Not yet registerred even after receiving a Thank You for Registering email
by Jeffrey569037
- 1 Replies
- Last post
by Figo Fei - MSFT
- I have registered and received an Thank You email; but an icon for Not Yet Registered showed up later on. I have tried to complete registration 2-3 times, the icon still showed up.
What's wrong with my registration
TIA,
Jeffrey
-
- Removing characters from a string
by nhaas
- 8 Replies
- Last post
by nhaas
- I am importing a string into a database. I have noticed that from the text file I can see a Square Character. How do I remove these characters from the string Here is some Very early code that I am working on,
Dim linenumber
Dim theReader As IO.StreamReader = IO.File.OpenText( "test.txt" )
ListBox1.Items.Clear()
Do While theReader.Peek <> -1
linenumber = th
-
- How do file streams work?
by Evoluator
- 14 Replies
- Last post
by ReneeC
- Helloo,
I have a fundemental question about file streams.
The question is the following:
Given a files is already on the HDD, and a file stream is used to write data on the stream.
Would the following code change the value of the file on the exact location in the HDD or would it change the value of the file but on a different location of the HDD
Code B
-
- Find and Find/Replace not working in VS
by Canacourse
- 6 Replies
- Last post
by LisaG
- Find and Find/Replace has stopping working in VS. When I click on any of the options in Edit > Find and Replace the screen flickers for a second but no find dialog box is displayed. Me thinks this might be a com registration problem but I do not know which dll to re-register. I have reinstalled VS but still have the same problem. Any ideas welcomed.
-
- issue with dialog and msgbox
by ron nash
- 12 Replies
- Last post
by ron nash
- Hi,
Can someone please help me with this issue;
I have simplified the process somewhat
I have a form with a textbox displayed within a MDI form as a dialog
When the OK button is pressed the database is searched for any records matching the textbox text
If one of the records fields is true I display a msgbox.
The issue is that I need to close the search dialog before the msgbox di
-
- Problem when maximizing my window.
by Asmodeus999
- 4 Replies
- Last post
by dragonpyro
- Im trying to make my own web browser, so i have a webbrowser docked on the bottom and a toolstrip docked on the top and it look fine on its defualt size, but when you resize it there is a big, ugly gap between the webbrowser and the toolstrip. I could make everything fit one screen size but then people with larger or smaller screens can't view it properlt. help please.
-
- Change Columnames in a Datagrid and Select the value of any colum
by abasilis
- 2 Replies
- Last post
by abasilis
- Hi!
I'm new in VB Express Edition, I've read some books in VB Express and VB.NET, there is some things I've learned, but I think that the things I need to develope a project some of then, probably I have not found the right book that explain it.
For example:
Something like to change tha columname in a datagrid.
I have found this answer for a datagridview in this fo
-
- Print preview layout is correct, but when I print it comes out different
by Shodin
- 14 Replies
- Last post
by Shodin
- Hi, I'm having a few problems w/my settings when I'm printing. 1) The print preview looks just fine, all centered and in color. However, when I actually print the document the printer is putting in a left margin of around 5/32" - 7/32". I can't seem to override it and nothing is coming out centered on the page correctly. 2) When I try to print something, even with the left margin set to