|
Sir/Madam,
I wanted to know something about sub procedures.
Thanks and regards
Panakj
|
|
|
|
|
Can you be more specific? What are you wanting to know? Your question is far too general!
David Loring
!! Keep Music Live !!
|
|
|
|
|
Sir/Madam,
I read somewhere the following line of code.Please explain it's meaning.
Dim WithEvents ObjectJ As [MyClass]
Thanks and Regards
Pankaj garg
|
|
|
|
|
the object myclass has events defined within. when certain actions are done within that class you'll see a line that says for example
"raiseevent click()" in the object that has the line withevents. you will have a routine:
private sub ObjectJ_Click(sender as object, e as system.eventargs) handles objectj.click
'do something here
end sub
|
|
|
|
|
Can i implement the map objects in vb.net 2005 window Applications
|
|
|
|
|
You're going to have to explain what you mean by "map objects" in order for anyone to answer this question.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
If you have Google's toolbar intalled, you'll notice that in Internet Explorer 7 the right-click context menu shows their "G" favicon/icon next to their context menu insertion. Does anyone know how to do this? Many new applications are doing this. Primarily, I assume, because it helps their text insertions stand out from the increasing number of apps which install commands to the context menu.
Also would like to know how to add separators above & below context items.
Any help would be most appreciated.
|
|
|
|
|
This will create the registry key in the correct location, However as far as launching your application using the context menu item goes, i cannot help you:
Dim regkey As RegistryKey 'imports microsoft.win32<br />
regkey = Registry.CurrentUser.OpenSubKey("SOFTWARE\MICROSOFT\INTERNET EXPLORER\MENUEXT", True)<br />
regkey.CreateSubKey("Test") 'You can put whatever you want here<br />
regkey.Close()<br />
<br />
regkey = Registry.CurrentUser.OpenSubKey("SOFTWARE\MICROSOFT\INTERNET EXPLORER\MENUEXT\TEST", True)<br />
regkey.SetValue("", "res://C:\test.txt", RegistryValueKind.String) 'you can change the path<br />
regkey.SetValue("Contexts", "3", RegistryValueKind.DWord)<br />
regkey.Close()
Note: Your path will need to be the install directory of the application.
This link may help with the launch component:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1161363&SiteID=1
Posted by The ANZAC
|
|
|
|
|
I have a little confusion in serialization.
I know serialization is saving an object and the current values of all it's
properties using serialization.
I mean what is the use of storing the object .What is the advantage of serialization.
Please tell me.
Thanks and regards
Pankaj garg
|
|
|
|
|
serialization allows you to convert an object into a string(xml) and transfer that object to another source(computer/server) via webservice or tcp.
an example of why could save one...you could write something to check a timestamp and if it's the same why go through the hassle(queries, transactions) again of populating the object when you could just read it from a file.
|
|
|
|
|
amaneet wrote: I mean what is the use of storing the object .What is the advantage of serialization.
What would be the point of adding File -> Save support to your apps without it? Serialization isn't just for sending objects between computers.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I know you can use serialization to save some of the settings/properties of some controls such as combo-boxes etc ... but can you use it to save the settings of an ActiveX/ocx control?
If you can .. how do you go about it?
Regards,
GaryW
|
|
|
|
|
Hey guys,
I'm making an IRC client and decided to muck around with the scripting GUI. I'm basing it on Visual Studio 2005/Orcas' interface, with the line numbers and the auto-complete style. I decided I would like to add the collapsible region type thing to it, for each function and custom areas. I tried looking at Sharpdevelop, as it has the same thing, though it's a little complicated for my liking.
I also took a look at Fireball (I think that's the name), another editor which has regions in it, though a lot is in Spanish and somewhat confusing, though the regions are less buggy than on Sharpdevelop.
What I was thinking, is that, store the text in memory and then draw it on the textarea, though I think I'd need to set the text on the control so it can handle the cut, copy, paste, navigation, etc. When I do that, it doesn't draw the text at all, only what the RTB.Text equals.
If someone could please point me in the right direction or if they have looked through the Sharpdevelop and/or Fireball code (as it's C# and I don't know that all too well) and help, I would greatly appreciate it.
Regards,
Daniel Wallace
|
|
|
|
|
Sir/Madam,
can i programically create the dsn in vb.net 2005 .I want to connect my Window application to Microsoft access database.Presently , I connect to the database my manually creating the dsn.
Please help.
Thanks and regards
Pankaj
|
|
|
|
|
Asking the question again won't change the answer[^].
You really do not need a DSN. Building a DSN is actually far more complicated than just building a connection string to your Access database.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i wanna know that how i can do 3d graphic in VB.NET
could u help me any coding?
phowarso
|
|
|
|
|
No-one can answer that. Download the Direct X SDK, it is full of samples. You need it, in any case.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I need to split an image up into many peices the same size and put them in seperate Picture boxes, so far i've setup an image array and am o with dealing with tha. My problem is; how do i split the image up into many images?
Posted by The ANZAC
|
|
|
|
|
You need to create new bitmaps for each section, and then copy the sections into them. Finally, don't use picture boxes, draw them in your paint event. Picture boxes do not scale well to what you want to do.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sounds greta but how would i go about doing that.
Posted by The ANZAC
|
|
|
|
|
Hello,
[VS 2005]
I have a problem that i want to install on a user computer. After the installation the program will check to see if the database is update. If not, the it will run some sql script file to update the database.
I have the sql script file, but not sure how to get the program to look for the script file to execute it on the server, if the database not up to date. The script file should be part of the installation.
Anyone have any ideas or can point me in the right direction.
Many thanks,
Steve
|
|
|
|
|
steve_rm wrote: I have a problem that i want to install on a user computer.
Why would you want to install "a problem"??
steve_rm wrote: I have the sql script file, but not sure how to get the program to look for the script file to execute it on the server, if the database not up to date. The script file should be part of the installation
That depends on the database engine in question. There are various command line tools that come with various engines to do this. I think the one for SQL Server is OSQL. You just give it the path of the script to run and some logon information and it'll run the script.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
We are looking for a VB.net 2005 programmer to develop a couple of application for the purpose of controlling and graphically displaying the telemetry data from the Robot. The first aplication is to duplicate the following Application . http://www.roboticsgroup.com/demos/radar/radar.html
This Application sends a “get” command to the robot requesting the distance to target , the robot replies with the distance in inches from 0- 255 and the data must be displayed just like the demo above.
Skype me at “bonilla_b”. Thank you
-- modified at 23:06 Friday 30th March, 2007
|
|
|
|
|
You seem to have mistaken us for RentACoder[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I'm just trying to solve a problem that is too much for me to do, I welcome any help in exchange for robotics products or just for the fun of it and the credit. I'm not trying to offend any one.
|
|
|
|