Search:

Type: Posts; User: blindlizard

Page 1 of 13 1 2 3 4

Search: Search took 0.40 seconds.

  1. Replies
    4
    Views
    470

    Re: Quotes within strings problem.

    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...
  2. Replies
    4
    Views
    470

    Re: Quotes within strings problem.

    How are you seperating the variables now?

    I would do a split on commas like:variables = Split(input, ",")
  3. Replies
    3
    Views
    811

    Re: FTP using VB.NET

    Check this out and see if it helps http://www.codeproject.com/vb/net/FtpClient.asp
  4. Re: call an exe file in client side

    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...
  5. Replies
    3
    Views
    1,050

    Re: Web services

    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.
  6. Re: Excuse my ignorance but is this possible?

    Here, give this article a look. http://aspnet.4guysfromrolla.com/articles/012203-1.aspx
  7. Replies
    1
    Views
    472

    Re: Convert C# to VB

    I figured it out, it is
    If TypeOf _myControl Is BaseDataList Then
    End If
    If TypeOf _myControl Is ListControl Then
    End If



    .
  8. Replies
    1
    Views
    472

    [RESOLVED] Convert C# to VB

    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...
  9. Re: Calling COM+ Lib into COM+ Server

    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...
  10. Replies
    1
    Views
    607

    Re: VB.Net 2.0 DoEvents

    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.
  11. Replies
    1
    Views
    607

    [RESOLVED] VB.Net 2.0 DoEvents

    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...
  12. Re: asp.net 2.0 user control problem

    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 =...
  13. [RESOLVED] asp.net 2.0 user control problem

    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...
  14. Replies
    3
    Views
    450

    Re: Double issues

    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.
  15. Replies
    3
    Views
    450

    [RESOLVED] Double issues

    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...
  16. Re: [RESOLVED] VB to create Remote Desktop Connection

    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.
  17. Re: VB to create Remote Desktop Connection

    Try this:Shell ("C:\Windows\System32\mstsc.exe C:\temp.rdp", vbMaximizedFocus)
  18. Replies
    18
    Views
    977

    Re: site -> vb?

    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. ...
  19. Replies
    2
    Views
    940

    Re: How can a service self-terminate?

    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...
  20. Re: VB6 upgrade problem

    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...
  21. Re: VB6 upgrade problem

    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...
  22. Re: VB6 upgrade problem

    Half the properties of the object objMSHTML have the Null Reference
  23. Re: VB6 upgrade problem

    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.
  24. Re: VB6 upgrade problem

    Well, it looks ok, it looks just like the VB6 code...I just wonder why it won't work, and how to fix it.
  25. VB6 upgrade problem MSHTML COM with VB.NET [resolved]

    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 =...
  26. Re: Output Messages to the Command Prompt [VB6]

    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...
  27. Replies
    2
    Views
    1,329

    Re: ContextMenu default item

    Thank you so much.
  28. Replies
    2
    Views
    1,329

    ContextMenu default item [resolved]

    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",...
  29. Replies
    5
    Views
    791

    Re: How to do SMTP mail with attachment?

    Source code http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=41066&lngWId=1
  30. Replies
    5
    Views
    791

    Re: How to do SMTP mail with attachment?

    Try this free control out. http://dropball.cs.emporia.edu/dropballpages/About/dropballDetails/dropballDocumentation/ostrasoft/smtp.html
    Google is a wonderful thing.
  31. Replies
    1
    Views
    664

    Re: How to change the file date property

    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.
  32. Re: what am i missing to expose this site?

    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...
  33. Replies
    3
    Views
    2,535

    Re: InfoPath base64 File Type

    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.
  34. Replies
    2
    Views
    975

    Re: add/remove Windows Components

    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...
  35. Replies
    3
    Views
    2,535

    InfoPath base64 File Type

    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...
  36. Replies
    2
    Views
    405

    Re: Output to XML Suggestions...

    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...
  37. Re: how to create folders for users when they have signed up

    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...
  38. Re: create a website but keep it on my USB drive

    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\.....
  39. Replies
    1
    Views
    480

    Re: ASP with COM

    Can you post the code you are using to call the DLL in ASP?
  40. Re: Tranfering Variables Form VB6 to Office Access or Excel and back

    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.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width