Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nickske80

    loadFile statement. - Newbie question

    no problem, By the way, You can drop the 'Me' part of the code. It works non the less but you only have to add the forms name before a control if you want to call it from another form.
  2. nickske80

    Horizontal Scroll On Form

    maybe you can try a frame, picturebox, ... in stead of the panel. these controls are containers to (so they can contain other controls) but I don 't know if the can get bigger than the form.
  3. nickske80

    New User needs help

    try writing Imports ADODB on top of the code above Public Class Form1 To search or to post - that is the question. To search first and to post later. THAT is the answer.
  4. nickske80

    Listbox, ID's, and Selecting an Item

    I think you could better use a class. Creat a class (project | add class) Item (or another name. then use the property's (readonly writeonly) The best thing about the class is that you can overwrite the ToString Function so that is the thing that will be shown. for example : public class...
  5. nickske80

    loadFile statement. - Newbie question

    I think the easiest way is just to use : Me.RichTextBox1.LoadFile(OpenFileDialog1.FileName) I know that it is done this way in VB 6 and probably in VB.Net to. To search or to post - that is the question. To search first and to post later. THAT is the answer.
  6. nickske80

    SQL ==> UPDATE syntaxis error

    hello everybody, I have this strange syntaxis error that i can 't seem to fix. This is my code: Dim strSQL As String 'record updaten strSQL = "UPDATE " & mconT_Categorie & " SET " strSQL &= mconA_ParentID & " = " & node.ParentID & ", " strSQL &=...
  7. nickske80

    save colors in DB

    thanx for the reply nomi. But vb.net doesn 't seem to know the 'TypeDescriptor' - object. Is there any way i can add it to my project? To search or to post - that is the question. To search first and to post later. THAT is the answer.
  8. nickske80

    save colors in DB

    Hello everybody, I am planning to add a feature to my program where I want the user to be able to choose some colors and fonts for his forms. (background, color of the fonts, ...) I use a access DB to save everything. But I can 't seem to store a color in a DB and retrieve it so it can be...
  9. nickske80

    Opening a file

    Try adding the following to your code. Public Structure OFSTRUCT cBytes As Byte fFixedDisk As Byte nErrCode As Integer Reserved1 As Integer Reserved2 As Integer szPathName(OFS_MAXPATHNAME) As Byte End Type The API u use is using a User Defined...
  10. nickske80

    App.Path in .NET

    You can use the Application.StartupPath That is the path where the executable is started from To search or to post - that is the question. To search first and to post later. THAT is the answer.
  11. nickske80

    VB6 or VB.NET

    I have both VB.NET and VB6 installed on my PC. I have studied VB6 for 2 years and now I am learning VB .NET. VB .NET has its differences with VB6. One of the biggest dissapointments for me was the use off control arrays. Using a control array in VB 6 is pretty simple but it is quite difficult...
  12. nickske80

    Runtime error 5 - invalud procedure call or argument

    sorry for bothering you guys. I found the answer to my problem myself. It should have been : For i = 0 To Int(Left(key, 1)) - 1 For j = 1 To Len(strCode) - i Step Int(Left(key, 1)) thanx to everybody anyway.
  13. nickske80

    Runtime error 5 - invalud procedure call or argument

    hello paulbent, I use the option explicit but didn 't copy it to the thread. And for the other thing you 've said. I replaced it to : For i = 0 To Int(key) - 1 and I get the same error. It works sometimes. But when you set the key to 5 and use a word with length 7 (e.g.CYPHERS) it returns...
  14. nickske80

    Runtime error 5 - invalud procedure call or argument

    Hello everybody, I am trying to create a Text encoder - decoder using the rail fence technique. But I get a runtime error when I try to decode the text. I can 't seem to find the problem. Can anybody help me? here is the code. Private Function decode2(ByVal strCode As String, ByVal key As...
  15. nickske80

    drag listview to treeview in usercontrol

    Hello everybody, I am creating a program with a listview and a treeview. I have put the treeview in a usercontrol(for a more readable program) and I am planning to do the same with the listview. But i am testing a few things and the dragover event of the treeview doesn 't seem to respond if I...
  16. nickske80

    User resizing of controls at run time.

    Thank you Vampire
  17. nickske80

    Adding textbox at runtime

    If you are trying to create a control array, Then the code is pretty simple, Just set the Index = 0 of the textbox in design mode. then add the following code: Option Explicit Private Sub Form_Load() Dim txtbox As TextBox Set txtbox = Text1(1) ==> 1 = index of the new textbox...
  18. nickske80

    Drop files from explorer or desktop in treeview or listview

    Thank you vb5prgrmr. That was exactly what I was looking for. It works really great. Thanx
  19. nickske80

    ShowFont = "No fonts installed"

    hello JESTAR, The showFont can 't be started without Flags. You have to tell the commondialog wich fonts you want to use. the following Flags are available: cdlCFScreenFonts for the screen fonts cdlCFPrinterFonts for the printerfonts cdlCFBoth for screen- OR printerfonts...
  20. nickske80

    User resizing of controls at run time.

    the code is really great. But is there any way I can adjust it, so it can only resize the right side of the picturebox?

Part and Inventory Search

Back
Top