thanks, That is Useful but I need the textbox2(small box) to come beside the mouse cursor(not the pointer) when I'm inside textbox1(big and multilined).
I didn't want a code for the entire screen.(my mistake);)
To preface, I have only taken on VB.net course and principles to programing, so I am a newbe to all of this.
To the question. I have stated creating a program that will allow me to centrally administer all of the workstations on the network...(ie. WOL, Reboot, Shutdown, execute *.vbs....)
I have figured out how to open the excel with all of the data needed, but how can I now select the data from the cell(say MACAddr) and execute a *.vbs on it.
then read excel and find CompName_selected MACAddr
execute command (ie "shutdown /t" or "*.vbs")
loop until all CompName_selected complete.
Any help would be greatly appreciated
I have two records in my database.From the form , I am chosing the id and want that record to get displayed in the crystal report.There are two tables in the database and there is a primary and foreign key relationship between them.Now the problem is , both the records are comming.I have created links between both tables in the reports.Is there any way to create the crystal report dynalically or can i pass the parameter to show the report.
Parameter means that id which has primary and foreign key relationship.
But I don't know the code how to pass the parameters.
and parameters should be passed at both ends (I mean in the crystal reports as well as on the coding side)??
I don't want to generate the window that ask me which id u want to select .
Thanks and regards
I am working at VU meter at the moment. That is, grabbing the microphone volume and show it in progress bar. Should I use winmm.dll for it in vb.net? I understand that I am able to use this module to get output volume but how I should get input volume?
I have a webpage containing a form having a listbox and some buttons. I am faicing the two problems. The first one is that I am facing problem in selecting an item in a listbox form visual basic applicaton.
The second one is that there are several buttons on it having same name. So how can I click on my required button from VB application because there is a confusion that from what name I should call my required button.
Consider it as a CHALLENGE for you...
I have written this because lots of experts are already failed to solve this problem.
On Windows Vista, Process.Start() generates Win32Exception.
Dim selfProc As String = System.Windows.Forms.Application.ExecutablePath<br />
System.Diagnostics.Process.Start(Chr(34) & selfProc & Chr(34)) <br />
The generated Exception:
System.ComponentModel.Win32Exception: The parameter is incorrect<br />
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo))<br />
at System.Diagnostics.Process.Start()<br />
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)<br />
at System.Diagnostics.Process.Start(String fileName)<br />
at ...MyProcedure(...)<br />
I have been reading up on .Net Remoting for some past days. What I understood was:
1. Create a remotable object.
2. Create a listener referencing that remotable object.
3. Create a client referencing that remotable object.
4. Use config files to indicate where the object resides.
5. Start the listener.
5. Start the client.
To make sure that I was using the server's version of the Remote object, I maintained the interface, but the changed the implementation.
The problem is, it still shows the implementation from the client!
I am using http as the channel, port no=8888
deployed the client exe on a remote machine and gave my machine's url as the remote object location.