Search:
Type: Posts; User: Negative0
Search:
Search took 0.59 seconds.
-
Could it be because you are creating one that you don't dispose? Look at the top of your method, you Dim myPing as New Ping and then in your loop you create another one, essentially orphaning that...
-
Are they on the same network? If they are you can use UDP to do broadcasting. On your server, you can have a component that listens for a UDP broadcast and when it hears one, it can reply to the...
-
I ran the code you posted pretty much as is (just changing the filename) and no instances of Excel.exe were left running on my machine.
I would start your code with a clean slate and make sure you...
-
Look at this code:
http://chakkaradeep.wordpress.com/2007/08/15/macdock-updated-to-hold-aero-style/
It's C# and WPF, but might give you an idea on how to do things.
-
I don't quite understand what you are trying to do. Do you want it to run on top of windows or to be a complete OS? IF you want the Complete OS, then you need to start with a lower level language...
-
Go to Tools->Options in VS and select the Projects and Solutions settings and check the "Always Show Solution" checkbox.
-
What does the JS do that you can't do in VB?
-
Actually, GetParent may be a more appropriate call in this case:
http://msdn.microsoft.com/en-us/library/ms633510(v=vs.85).aspx
http://www.pinvoke.net/default.aspx/user32/GetParent.html
-
Microsoft has a KB article on creating a C DLL and then calling it from VB. Since you already have the C DLL, you can focus on section B, which goes over calling the dll:
...
-
You can modify the filter to only show the files you want to see:
Dim ofd As New OpenFileDialog
ofd.Filter = "Docs(1*.doc)|1*.doc"
If (ofd.ShowDialog() =...
-
The ListViewItem has a checked property, that lets you set the CheckBox state. If you set it to True, then an item will be checked:
For i = 0 To 100
Dim li As ListViewItem...
-
Those are the letter O, not the number zero. Change them to zeros.
-
You can use the WriteAllText method to write to text file. If you are simply modifying the XML in a textbox, then that is all you should need:
...
-
You can use the Form's AutoSize and AutoSizeMode properties to have it grow. So if you programmatically add controls, it will automatically resize to show the newly drawn controls. I would set...
-
The window has a Size property which you can modify. For example, if I have a menu item, that when checked makes the form larger, I can do it like this:
Private Sub...
-
Oh and if you are glutton for punishment, you could technically write your own parser for excel files:
http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx
I know that this is not...
-
There are no native classes for receiving email. With GMAIL, you can use a POP3 client, and there is an open source project call OpenPop.net that would let you connect.
...
-
They have a free trial, so you might be able to quickly proof it out to see if it works. If it does, then you can suggest spending $900 now or taking two weeks to see if you can write a workaround. ...
-
I agree with Hack, just don't show the main form until after they have already logged in.
For future forms, where your main window is up and you spawn a new window that needs to block input from...
-
Have you tried any third party products? I have used the Aspose suite for Word documents on a server and that worked great for me. They have an excel version called Aspose.Cells.
It basically...
-
Depending on what you are doing, you could use the webbrowser control, as the Document property has a getElementById method.
-
They do have read and write limitations in them. Many manufacturers have mitigated some of this risk by blocking off part of the drive capacity to be used to replace areas that go bad. So a 60GB...
-
I've noticed that running on an SSD has drastically improved the load time and responsiveness of the IDE, so if you are getting a new notebook, try and get an SSD.
-
Are you using a Proxy in IE? If not, try setting the .Proxy property to Nothing and see if it runs faster.
-
You can use the format parameter of the ToString() method to achieve what you are looking for:
For i As Integer = 0 To 52
Debug.WriteLine(i.ToString("D2"))
Next
...
-
This needs to be handled on a form by form basis. What you can do it use anchoring and docking to get the desired effect. Anchoring will allow you to specify how your form grows/shrinks with...
-
What kind of barcode? There are many different flavors, depending on what you are doing (3of9, 128, UPC, EAN, ...). If you need UPC, this article on code project has a lot of good information:
...
-
You can assign objects to the items in a combobox and it will use the ToString method of the object as the display member of the combo box. So for your example, you could create a Country class and...
-
You can do that through code:
For Each f In System.IO.Directory.GetFiles("C:\Temp")
If IO.Path.GetFileName(f) = "fileyouarelookingfor.mp3" Then
...
-
If you simply want the entire file contents in a textbox, you can do this:
TextBox1.Text = System.IO.File.ReadAllText("C:\Temp\file.csv")
If you want more control over how the data is...
-
That is referred to as a SplitButton. You can add them to toolbars out of the box, but if you want to add it to a form, you will probably have to create your own or use one available online:...
-
What are you trying to do?
-
Process.Start is stating the process up and then continuing on with your code. The reason you are getting multiple CMD windows is that the command window is not yet open when you try and send the...
-
You could use an enum to keep track of your state:
Enum CurrentState
BeforeVBF
OnVBF
AfterVBF
Done
End Enum
-
You can use a regular expression to check how many times a string appears.
Dim s As String
s = "myfilename_employee--2010-11-23-45-00--empid200"
If...
-
Rewrite it in .Net. Most conversion tools will still use VB6 syntax and a lot of what you glean from the conversion will be poor practices if you were writing brand new .Net code. This will give...
-
If it is truly XML, then you can parse it using XML classes in the System.XML namespace.
-
You can use the DocumentCompleted event to let you know when the page has finished loading. And the code below shows you how to populate values and click buttons in web pages. This example, puts a...
-
Loop through the registry objects using a combination of GetSubKeyNames and OpenSubKey and add each key as a tree node. In theory this should work fine, the only trouble you are going to have is...
-
What are you trying to get? The FileSystemWatcher class gives you the ability to monitor folders for changes. It may be a good starting point for you.
|
Click Here to Expand Forum to Full Width
|