Search results for query: *

  • Users: jnash
  • Order by date
  1. J

    what am i missing - taking values from do to array

    im trying to retrieve all the email address's from my db ad put them into a array, for ms access i always used a object reader, not as simple on mysql!!! Public Sub retrieveAddress() Dim address As String Dim myCommand As New MySqlCommand Dim myReader As...
  2. J

    incorrect values and slowness

    sorted it realised i but the table string in the dataset as opposed to the dataadapter!!
  3. J

    incorrect values and slowness

    Hi there im using this code and whenever i input a date, i get all the entries in the table instead of the ones specified with the date, what am i doing, also loading can take over a minute, how can this be sped up i have 1.5gb's of RAM!!!! Private Sub Button1_Click(ByVal sender As...
  4. J

    datasource not found

    datasource file i created in windows ive tried to use mysql connecion but i cant see it fitting in correctly???
  5. J

    datasource not found

    I have been trying to get a mail merge working for ages made this up from various sites, im gettin the error after the ODBC connecter page comes up and i click okay the error is "cannot open datasource" any immediate ideas ? thanks Public Sub domailmerge() Dim oApp As Word.Application...
  6. J

    adding a button event to a generated form

    thank you John i found tat additional namespaces and it works
  7. J

    adding a button event to a generated form

    thank you once again John, i have managed to write the handler and it workes but in the handler i tried system.process(blah.exe) however it doesnt recognise this, does this part need a reference or a import statement
  8. J

    adding a button event to a generated form

    i need the button to open another exe , (another compiled form) and close itsself
  9. J

    adding a button event to a generated form

    thank you jon, i have recoded the application to spit out the below code however im getting errors with ad events so what ive done is look at the generated text and found a addevents command, however nothing works when i click on the buttons , any ideas thanks. Imports System Imports...
  10. J

    adding a button event to a generated form

    my application generates forms via writing to a text file and then compiles via vbc, im having trouble adding the button onclick event, im getting errors saying the the method for onclick is incorrect, which it probably is my app outputs the below code, im not sure what i need in there to make...
  11. J

    running external exes from my form

    thanks john Process.Start("C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe", "/t:winexe /reference:System.dll,System.Windows.Forms.dll,System.Data.DLL,system.drawing.dll,AxInterop.WMPLib.dll,Interop.WMPLib.dll,AxInterop.ShockwaveFlashObjects.dll,Interop.ShockwaveFlashObjects.dll...
  12. J

    running external exes from my form

    System.Diagnostics.Process.Start("VBC.EXE /t:winexe /reference:System.dll,System.Windows.Forms.dll,System.Data.DLL,system.drawing.dll,AxInterop.WMPLib.dll,Interop.WMPLib.dll,AxInterop.ShockwaveFlashObjects.dll,Interop.ShockwaveFlashObjects.dll /out:" & formName & " " & "C:\Documents and...
  13. J

    VBC Compiler

    Thanks john, i did some more researching into the exception and realised its something to do with the state of the active X control, with that information i looked at a generated form and extracted the coding required to initialize and it worked thanks again ! Jon
  14. J

    VBC Compiler

    Hi john im not sure if i quite understand, could you show me in the above form it would really help me thank you Jon
  15. J

    VBC Compiler

    but like i said if i use .show is shows for a second and closes!
  16. J

    VBC Compiler

    nothiing that i put after the show dialog works after it (thats why its at the end) also moving the audio.url around i have tried and the same error, if i change to .show() then it shows for a second and closes (maybe something to do with the end of the form class?) also chagning between...
  17. J

    VBC Compiler

    Imports System Imports Microsoft.VisualBasic Imports System.Windows.Forms Imports system.Drawing.color Imports AxWMPLib.AxWindowsMediaPlayer 'Imports AxInterop.ShockwaveFlashObjects Public Class FirstForm Shared Sub Main() Dim temp As New System.Drawing.Point Dim temp1 As New...
  18. J

    VBC Compiler

    ive added all the references and it compiles however it crashes and when debugged i get 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown. any ideas??
  19. J

    VBC Compiler

    hi John references as in /references in vbc or more import statements. also im not sure if you remember my post im making a authoring system (like a paint form) and then i have a module that outputs to a form that acts as a single form that can be compiled using vbc.exe
  20. J

    VBC Compiler

    thanks for your reply john, i changed it to the latest folder and im recieveing this error, i thinnk its because i havent added a reference to the audio and flash, what are the reference files i need thank you error: C:\Documents and Settings\halo9\Desktop>vbc /t:winexe...
Back
Top