Search:
Type: Posts; User: blindlizard
Search:
Search took 1.13 seconds.
-
How are you getting the quotes around your values? It must be before you are writing to the file because your code doesn't show you adding quotes. Where ever you are adding the quotes might be...
-
How are you seperating the variables now?
I would do a split on commas like:variables = Split(input, ",")
-
Check this out and see if it helps http://www.codeproject.com/vb/net/FtpClient.asp
-
Think from a security standpoint, if you could call c:\anyfile.exe, what you stop you from calling something like c:\windows\fdisk.exe and wipping out an unsuspected users drive? You cannot call an...
-
Your web service runs through IIS. You can write them in any .Net language (VB, C#, etc). They are just a page type in a ASP.net application.
-
Here, give this article a look. http://aspnet.4guysfromrolla.com/articles/012203-1.aspx
-
I figured it out, it is
If TypeOf _myControl Is BaseDataList Then
End If
If TypeOf _myControl Is ListControl Then
End If
.
-
Can someone help me convert these statements to VB
if (_control is BaseDataList)
if (_control is ListControl)
I have tried:
If _control Is BaseDataList Then
End If
If _control Is...
-
You don't have to register your COM+ dlls seperatly, this happens when you add them to a COM+ package. You can reference them from your application the same way you always did as if you had...
-
Ok, I figured it out. I had to reference System.Windows.Forms in the Project I guess because Services usually don't have forms so it is not reference by default.
-
I have an old Class I wrote in VS 2003 and I had a line that said System.Windows.Forms.Application.DoEvents(). When I try to add that line in a class in VS 2005 I get an error saying that Windows is...
-
Ok, I googled some more and found that you have to do this:
Dim ctl As Control = Me.LoadControl("Controls/Test.ascx")
Me.AddParsedSubObject(ctl)
Dim MyControl As Controls_Test =...
-
I have a default page called default.aspx and a web user control called test.ascx in a folder called controls. Now, if I drag the control on to default.aspx from visual studio and set the...
-
Ah, thank you! I did try (double)(500 / 760) but that was the same answer (0.0) probably because by the time I tell it to give me a double, it is already an integer.
-
I am pulling my hair out with this. I have VB.Net code that works, but the C# alternative does not.
VB.Net
Dim MyVal as Double = 500 / 792
'MyVal then equals 0.631313131313131
C#
double...
-
You are using ShellExecute with the SW_SHOWNORMAL flag which shows the window. He was using Shell which doesn't show the window by default.
-
Try this:Shell ("C:\Windows\System32\mstsc.exe C:\temp.rdp", vbMaximizedFocus)
-
Look nokmaster, the master code is being generated via php on the server side. No one here has any idea how that code is generated because we cannot see the php code because it runs on the server. ...
-
You have to tell the Service controller to stop the service. You can actually stop any service with this code.
Dim mServiceController As System.ServiceProcess.ServiceController
mServiceController...
-
Yeah I get that, but I don't know what namespace 'IPersistStreamInit' is in. It is a COM thing I think
**edit**
Ok, I got it. IPersistStreamInt is a COM thing (I don't quite understand it) that...
-
I found this which should do what I am trying to do (which is get all the links from a HTML page)Dim objMSHTML As New mshtml.HTMLDocument
Dim objDocument As mshtml.IHTMLDocument2
Dim ips...
-
Half the properties of the object objMSHTML have the Null Reference
-
I just want to fix my code. I can't figure out why I am getting an error in the VB.Net code because it looks right.
-
Well, it looks ok, it looks just like the VB6 code...I just wonder why it won't work, and how to fix it.
-
I have this code from VB6 that works fineDim objLink As HTMLLinkElement
Dim objMSHTML As New MSHTML.HTMLDocument
Dim objDoc As MSHTML.HTMLDocument
Set objDoc =...
-
You cannot write out directly to a command prompt like you can in C++. You can however access a command prompt with Win APIs. So, if you run your VB app from a command prompt, it will open a new...
-
-
I have a system try icon with a ContextMenu like this:
mContextMenu.MenuItems.Add(New MenuItem("Stop", New EventHandler(AddressOf StopService)))
mContextMenu.MenuItems.Add(New MenuItem("Pause",...
-
Source code http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=41066&lngWId=1
-
Try this free control out. http://dropball.cs.emporia.edu/dropballpages/About/dropballDetails/dropballDocumentation/ostrasoft/smtp.html
Google is a wonderful thing.
-
As far as I know, you cannot change the date properties of a file, but....you can change the date of the computer, write the file and change it back.
-
I have had this problem too and I finally found the answer. http://www.techexams.net/technotes/xp/ics_icf.shtml <-- scroll to the bottom section
The Windows firewall has to be told to let HTTP...
-
Here is what MSDN says: I guess the base64 conversion has to be done, then read the header and remove it from the file. My problem is, I don't understand this header stuff.
-
Have you tried to re-format, re-install Windows and set everything back up? I have IIS and VS.Net installed on 5 seperate machines and never had any troubles like yours. I would re-install Windows...
-
I have an InfoPath XML file with a File Attach control. The file gets saved to the XML in base64. I can use Convert.FromBase64String to convert the data back into the original file, but the problem...
-
Do you want the user to save the XML locally, or are you going to save it on the server? If you are saving it on the server, then you might as well save the data directly in the database. Databases...
-
Well, if you are going to do it classic ASP, then you have to get a component to do the uploading, something like Dundas. That DLL will give you a method to create a folder. Google Dundas and look...
-
Go into IIS, right click on your virtual directory, choose properties. Then in the Virtual Directory tab change 'Local Path' from C:\inetpub\wwwroot\FOLDER to USBDRIVE:\myweb\dir\blah\etc\.....
-
Can you post the code you are using to call the DLL in ASP?
-
You can talk to all the products in Office via COM or ActiveX to be more specific. Try to Google Excel VB Automation or Word VB Automation etc.
|
Click Here to Expand Forum to Full Width
|