-
- WYSIWYG Editor...
by QWERTYtech
- 1 Replies
- Last post
by Matt_Fomich
- I want to implement a WYSIWYG editor into my program for allowing a user to use it as a notepad. Can anyone help me here
-
- Include .mdb file in the .exe
by kidwizz
- 14 Replies
- Last post
by Nicolas_qc_au
- Hey, I have created a basic database project and i want to distribute the file as a single .exe but it needs the .mdb to be in the same directory. Is there a way to include the. mdb inside the .exe file
-
- Accessing Folder Properties
by LJM89
- 1 Replies
- Last post
by Riquel Dong šC MSFT
- how do i access XP/Vista folder prooperties so that i can change them. i want to do something like a catalog software to change icons so that they represent importance. can i also change the folder label like "My Documents" to like Red color
-
- Change icon in treeview control
by tdcntt
- 6 Replies
- Last post
by Jay Vora
- Could you please tell me how to change the icon when the 'plus/minus' sign in a treeview control is changed. For example, if the sign beside a node is "-", then display icon "A"; otherwise, display icon "B".
I would highly appreciate your help!
-
- Passing an Array of Strings to a C++ DLL using SAFEARRAY - HELP!!!
by robatdural
- 14 Replies
- Last post
by Sudhansu Tiwari
- Hi
I am upgrading some VB 6 programs to VB 2005. These programs pass data to a C++ DLL and I am having trouble passing an array of strings.
The DLL looks basically like:
int _stdcall PassInStrings(short idx, LPSAFEARRAY FAR *strArrayPtr) { BSTR *tmpStrArray; tmpStrArray = (BSTR*)(*tagArrayPtr)->pvData;
for (i=0; i<idx; i++) { MyDebugPrint("PassInStrings&quo
-
- Service issues
by orcberg
- 14 Replies
- Last post
by orcberg
- I'm using VB.NET 2005, and I'm looking to put together a simple service. I already wrote this as a regular application, but I figure it will be a lot more useful as a service (where it always runs, and doesn't need to have a user logged in).
The idea behind the service is that it simply checks a few folders and the status of another service at a regular interval. To do this, I have a timer
-
- Ballon tip on WebBrowser Form
by BBNuno
- 14 Replies
- Last post
by ahmedilyas
- Hi! I need to put a ballon tip on a webbrowser1, for exemplo i put a webbrowser on my form and i make it go to www.google.com and when the page is loaded i need to put a ballon on the text box with something....and i need this for others text boxs or buttons! Can someone help
-
- basic login form with several users
by Zeelia
- 3 Replies
- Last post
by -=[ Bjorn ]=-
- Hi!
I found this code:
šEšEšEšEšEšEšEšEšEšEšEšEšEšEšEšEšEšEšEšE
If Me .txtUserName.Text = "user" Then 'Replace the string "user" with whatever you want.
If Me .txtPassword.Text = "password" Then 'Replace the string "password" with what ever you want.
Form1.Show() 'This call represents the main entry to your application. It can be an MDI
-
- Form in Form
by T V D
- 5 Replies
- Last post
by kleinma
- Hello, I am developing an application that has a menubar. On selecting menu items, I got to open differnet windows (Forms). This all makes the main program have nothing except the menubar. I want that on clicking any menu item, the respective form comes somewhere on the main window only. On close event of the new form, it gers closed - disappears. So, the new form is inside the main form only. Ne
-
- VB2005 Issues
by dbasnett
- 12 Replies
- Last post
by kleinma
- A couple of things that have me at wits end. I have an application that has the following problems / concerns: 1. When my application is running and the system attempts shutdown / restart / logoff my app closes, but the system doesn't perform the action. When I look at the Windows Task Manager I see that a large number of the normally running task have been killed as expected. I have tried my app
-
- How do you manage your controls if there are many many controls placed on the forms?
by Batikit
- 7 Replies
- Last post
by SJWhiteley
- Hi
I would like to know how do .net developers manage a large window application with a large number of controls, such as textbox , button, groupbox I have seen a number of people do it this way : declare the controls as an array and initialize them one by one at run time . In this way it is easy to manage those controls because they can be accessed by array index; but this solution seems to r
-
- Background Worker
by CollegeSeniorProjectNeedsHelp
- 2 Replies
- Last post
by CollegeSeniorProjectNeedsHelp
- I seem to have a semi-unique situation. I have to procedures that run in my program that last for a specific time frame (using the timers). The good news is, the timers work great! The bad news is I am having to use While (or do until) loops as other things are happening during the time frame. These loops utilize 100% of the processor time killing off the ability of the program to do the other fun
-
- PrintDialog Question
by tvb2727
- 1 Replies
- Last post
by BinaryCoder
- I have added a printdialog control to my program. I select text on a web browser control and I want to use that. I set allowselect etc to true, but when i click okay it does not send the information to the printer to print. I have also tried doing send keys sendkeys("^(P)" to bring up the one already programmed in but that won't work either. Any ideas
-
- Regaining control of Excel spreadsheet from VB.net
by fred s.
- 3 Replies
- Last post
by fred s.
- I am creating an Excel spreadsheet from VB.net. The program populates some cells of the spreadsheet. The user can also enter data into cells. These two activities can happen consecutively (not concurrently).
If the user does not hit ENTER after entering their data, VB.net cannot regain control of Excel. Is there a way around this
Below is a short test stub that demonstrates this. T
-
- Help with classes
by CaJack0
- 2 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- Hi, For my project IĄŻm going to be simulating a simple phone network. The user will be able to add phones to the network and such. My only question is: Is it possible to use one class for all the phones or will each phone need its own class IĄŻve already got a rough version working but its quite crude and consists of mainly click events and if statements. But from what IĄŻve discovered doing that IĄŻ
-
- What is the difference between Array and Collection in Visual BAsic 6.0
by Jigar J Patel
- 18 Replies
- Last post
by Jigar J Patel
- Hey Guys please help me...........
-
- Need Help
by Jack Developer
- 5 Replies
- Last post
by Jack Developer
- Hi, I've been looking for this issue:
I'm trying to align CtlText to right in the AxMaskedBox, but there's no properties that make that effect.
I tried the CtlText.PadLeft, but it is not working, May somebody help me Thank You!
-
- Creating a new GUI for an existing 3rd party application
by ChrisBettencourt
- 11 Replies
- Last post
by kleinma
- Hello, I'm a super fresh newbie to VB, and I'd really appreciate any help! (I'm using Visual Studios 2005) My current issue is that I'm trying to open an application using:
Dim ProcID As Integer ProcID = Shell("""C:\FlowMaster 6.0\FlowCUT.exe""", AppWinStyle.NormalFocus) AppActivate(ProcID) I got this code from the help file. I've just put it in a button, and when
-
- Custom Data Types for Settings.settings
by Nathon Dalton
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Custom Data Types for Settings.settings
The Problem
I would like to have a setting in my project's settings.settings file that uses a custom data type I create. The data type will have three values that will be more specific to the project I'm creating than generic integers, strings, etc. The new datatype I want to create is going to be the mode in which the application should start.
-
- sqlconnection
by DKeeper
- 2 Replies
- Last post
by Riquel Dong šC MSFT
- Same connection string works fine in Access 2003 VBA application but in VB.net it fails with a message of :
"Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Dim sqlconn As SqlConnection = New SqlConnection( "Data Source=CONFSQL02;Initial Catalog
-
- Resolved Sort of: Try Catch - Resume Next?
by Tim8w
- 5 Replies
- Last post
by James A. Gayhart
- I have a case where I need to resume execution on the next line after an exception. Is there no way to do this using the structured error handling I realize that I can go back to the "On Error .. Goto", but I can't believe there's not a way to do this with structured error handling...
-
- How do you kill a thread inside a process without killing the whole process?
by N. Farr
- 2 Replies
- Last post
by N. Farr
- Hello all,
Is it possible to kill a thread inside a process without killing the whole process
From what I understand, ProcessThread's are operating system threads that a collection (ProcessThreadCollection) of which can be associated with a process. It is also my understanding that explorer.exe for instance is such a process that can spawn many threads. I would like to kill one of those thre
-
- Need to add a " to my output file.
by IMPhill
- 4 Replies
- Last post
by James A. Gayhart
- I have been making a bat file creator for the past week now and im almost done. However when you run a batch file with a path more then 8 chartors long you need a " at the start and end of the folder/file path. i have the output text going into a textbox then into the .bat file. How would i do this because i cant seem to find any way of doing this.
-
- how can i change c# string into vb string
by nutsukae
- 4 Replies
- Last post
by nutsukae
- i want to change my c# string into vb string but i really dont know how to do my c# string is
Code Snippet
string d = '"' + "http://xxx/" + '"' + " -O " + '"' + "/tmp/xxx" + '"' + " " + '"' + "+*.xxx/*" + '"'; how can i change it
-
- select certain set of data from database
by kidwizz
- 14 Replies
- Last post
by kidwizz
- I want to be able to select what seasons the randomizer is picking from. (where you select them is on another form). Keeping in mind that I've only been doing VB in school for 1 term now.
Code Snippet
Imports System.Data Imports System.drawing.Size Public Class frmMain Inherits System.Windows.Forms.Form Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.