Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • Problem with Web Client

    database question help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    J
    Presumably the first page is used to get all of the parameters to use the web service. On the first page use the Page.IsPostback method to see if details have been submited. Then do a Response.Redirect or Server.Transfer to the page you want to display the results in. In the url pass the values you want to use in your webservice in the querystring. E.g. Response.Redirect("MyPage.aspx?key1=" & TextBox1.Text & "&key2=" & DropDownList1.SelectedValue. In MyPage.aspx use those values to query the web service on that page (Use Request.Querystring("key1") etc). Jim
  • Looping through Recordset hangs?

    database help css sql-server com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Control Authoring Question

    csharp visual-studio question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • a question about String

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Problem when opening excel in VB6

    help database com performance
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Bad Sector

    2
    0 Votes
    2 Posts
    0 Views
    D
    The short answer is No. The long answer is you have to write some kind of low level disk control software in C/C++ to do it in Windows. You'll essentially be writing a replacement device driver for your Floppy or CD Writer. Besides, why would you want to? Copy protection is a waste of time.:omg: Just ask anyone who's ever cracked a game!:eek: RageInTheMachine9532
  • Audit log

    database help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • HELP! How to convert MS Word/Excel into Image?

    csharp mobile help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    S
    I would look into opening the document using the Office Object Model and then seeing what formats are available to "save as" that document in.
  • Control Designer & Child Controls Issue

    help design question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • XPath problem

    xml html wcf json help
    3
    0 Votes
    3 Posts
    0 Views
    R
    Thank you for the solution. It works. I will check the site later this week. Raf.
  • Marshalling Data, Can Anyone Help?

    help csharp c++ data-structures
    5
    0 Votes
    5 Posts
    0 Views
    G
    No, I need an array of a structure inside another structure. StructLayout(LayoutKind.Sequential)] public struct s1 { [MarshalAs(UnmanagedType.I4)] public int val; } StructLayout(LayoutKind.Sequential)] public struct s2 { [MarshalAs(UnmanagedType.Struct, SizeConst=16)] public s1[] vals; } Something like that. Take a look at my original post.
  • Help

    help question
    2
    0 Votes
    2 Posts
    0 Views
    N
    Set localConnection = CurrentDb() Set rJN = localConnection.OpenRecordset("TEST") rJN.MoveLast dim dtRS as Date = rJN![Test] If dtRS.Month = Now.Month Then dtRS.Month = dtRS.Month + 1 Else dtRS.Month = "01" End If debug.writeline (dtRS.ToString) Have not tested this...but may be this is what u want... Regards, NetPointer
  • Restoring of DB

    database question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to use script files!!

    question csharp database tools
    3
    0 Votes
    3 Posts
    0 Views
    A
    Yes MSAccess, and I want to use it for adding an extra company's database to my program. OK, I can copy the existing db, but i don't know exactly how many companies will be added! I am doing it in VBScript now, but still don't know how to use it!
  • List installed applications

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    The registry stores the uninstallation information in the key 'HKEY_LOCAL_MACHINE\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall', I presume you could trawl through the list of sub-keys to get a list of applications that are registered as installed on the system. Other than that I'm not aware of a way of detecting whether a program has been 'installed' or not, without the registry mechanism. Hope this helps. Alan. P.S. note that you'll only get the path to the UNINSTALL.EXE, but I'm sure you can strip the path down to find its root folder for searching. Not all programs keep the uninstall.exe in the actual installation folder, but if you extract the program name and perhaps search for it in the registry you may find it...who knows, it certainly isn't simple :(
  • Access Report Printing from VB

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Is it possible???

    question json help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Printing Software - Please Help Me ....

    css help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • using vb6 crystal reports 7 in .net

    csharp question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied