|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Jack -
4 Feb 2006 9:23 PM - 9 messages
Hello, My code can read from Excel spreadsheet. What should be done to be able to write back to it? Your help appreciated, Jack ...
Really New At This -
4 Feb 2006 8:55 PM - 4 messages
Is it possible to pull a track of a specific instrument from an mp3 file? For instance, if you had an mp3 with Honky Tonky Woman by The Rolling Stones, would it be possible with VB to separate out the cowbell sound ...
Lorin -
4 Feb 2006 8:22 PM - 2 messages
How do I get my app to appear on the Windows Explorer Folder/File right click menu? Yes, I know I can put a link in the "Send To Folder" folder, but I want my own menu line. WinZip and Adobe can do it. I want to also. ...
Sean Campbell -
4 Feb 2006 6:08 PM - 7 messages
I have been racking my brain tryign to understand how to compare two string in vb6. Can someone help? I have a string E-DRA-SYMB that has to be compared to DRA-SYMB. As long as string2 is found in string one, I want a return value of true. I tried the ...
KAB -
4 Feb 2006 6:01 PM - 3 messages
Hi: Does anyone know if Visual Basic has a command that positions the mouse pointer to a specific location on a form? Thanks KAB ...
william -
4 Feb 2006 10:04 AM - 3 messages
Is there a functions that will shut off the monitor the way windows does under its power schme? Is there a way to wake a computers who's screen saver is on? ...
R-M -
4 Feb 2006 9:39 AM - 3 messages
Hi I am working with VB6 and I use a user-defined DLL in my project. now I have some regularly changes in my DLL which makes me to refer to it in my project again and recompile my project too. how can have my new DLL ...
Jack -
4 Feb 2006 4:24 AM - 11 messages
Hello, 1. Is there any 'optimal' number of timers can be used on one form? 2. Which design will be more efficient: A. using one timer and combine different events using If... Then statements. Because each event requires different time interval change timer ...
desertphile -
4 Feb 2006 1:14 AM - 3 messages
Is there a newsgroup specifically for Visual BASIC math discussions? ...
ZipDC -
4 Feb 2006 12:01 AM - 5 messages
Hi I have my App associated with a file extension and I can launch a file from explorer and parse the file using Command$ inside the App and that all works OK. If I highlicht a bunch of files in explorer and launch then I get separate ...
AG -
3 Feb 2006 10:53 PM - 4 messages
I have a file which has some information starting with a heading like Trial Balance for the months . I want to output all this information starting from this till the total line to another file usinf FSO and VB script. ...
everett -
3 Feb 2006 10:41 PM - 2 messages
how do you add a icon to the task bar and when clicked on trigger a event this is the program im making " Set WMP = CreateObject("WMPlayer.OCX.7" ) ' vbscript Set CDROMs = WMP.cdromCollection If CDROMs.Count >= 1 Then ...
Bob Harrison -
3 Feb 2006 7:23 PM - 5 messages
i am monitoring some electronic equipment. Every few seconds i poll for equipment status. The results are returned in 6 groups - like 0A 40 08 00 00 00. Currently only the first 3 bytes contain meaningful info each bit reports either normal operation (a 0) or an error condition (a 1) ...
Ed Wyche -
3 Feb 2006 1:49 PM - 16 messages
I have a text file that is going to have a couple million lines or so in it. I want to be able to search for a particular number (that number can be in the file more than once) and then get the 10 lines before and the 10 lines ...
daniel -
3 Feb 2006 7:23 AM - 5 messages
Hello All, On a File List Box is it possible to get a event on the ricght click button. If yes how does it possible ? CLick is ok , key pressed ok Thanks ...
vbhelp -
3 Feb 2006 1:56 AM - 4 messages
I have some additional directories and files I need to delete when the customer uninstalls the vb application. Reading the newsgroup I could: Modify the install process by changing: Setup1.vbp I would have it change the registry to call another uninstall ...
Jame -
2 Feb 2006 11:54 PM - 6 messages
This one is tough. Assume we have a bitmap (Black and white) in any NO compressed file format. Assumme it is 100 pixels by 100 pixels. Is there a way to determine which pixels are black and which pixels are ...
Ian B -
2 Feb 2006 11:53 PM - 5 messages
I see the fso scripting object occasionally getting "bad press" but have always found it OK up until now. I select a folder, and using code snip below test for the existence of files within the folder using two instr criteria, "zip" and an account number. ...
wagon -
2 Feb 2006 11:48 PM - 3 messages
We use a program that can only print to the default printer. Is there code that would allow VB to change the default printer? ...
vonclausowitz -
2 Feb 2006 9:40 PM - 3 messages
Hi All, I have two dates that I would like to compare. The two should be within one hour from each other. Sometimes date x is older and sometimes date y is older. I tried: For example: dX_date = 01-02-2006 10:45:00 ...
John S -
2 Feb 2006 9:09 PM - 3 messages
Hi All, I have 2 problems after installing manifest script from [link] Labels located in a frame often flicker when mouse is moving over the text boxes that sit within the same frame. ...
Paulymon -
2 Feb 2006 8:23 PM - 9 messages
I entered the following in my immediate window and expected to see a result of 4:00 Why is it showing me :12 ? I want to subtract the 2 date/times and get 4 hours as the result. Please help ...
Vitalik -
2 Feb 2006 7:04 PM - 6 messages
Hello, In our application written in VB6 we use 3rd party controls from a vendor who is no longer in business. The problem with the controls occurs only under WinXP and happens when users would like to lock their computers by ...
Doctor M$ -
2 Feb 2006 6:12 PM - 2 messages
Hi at all, I've created a DLL with VB6(Sp6) and I'm using this dll in a 3d part application and I've got a very big problem: how can I debug the dll when error appears? I try this way (suggest by the developer help of the ...
RC Bob -
2 Feb 2006 5:43 PM - 11 messages
I am using VB6 to write programs to control some lab equipment. I am trying to read a keypress to end a routine in a click event. What I want is to have a label that says "Press 'E' to end the calibration" and return to the Form1 ...
Pinto1uk -
2 Feb 2006 5:41 PM - 8 messages
Hi, i am using the code below over and over again to connect to my database. I have tried to place in within a module and call it from whereever i need it, but i get the error stating: variable or procedure expected not module. ...
Daniel -
2 Feb 2006 5:31 PM - 2 messages
is there a vb code that will add a network printer? i am trying ti write a program the the user just chooses a printer from th list and adds it. or is there a way to run a vbscript with a vb program. ...
bee -
2 Feb 2006 5:26 PM - 4 messages
Hi all, I have a vb active X dll project and would like to get a a type library. I used MIDL but I am having problems. Also, what the difference between type library and dll? Thanks Bee ...
Jon -
2 Feb 2006 5:07 PM - 2 messages
I have been reading the digital manual to find out how I can see the "main" procedure and I find this line under "Main Procedure" in the documentation: "Windows Forms applications run on their own. However, the Visual Basic compiler automatically generates a Main procedure in such an application, ...
Andrew -
2 Feb 2006 4:41 PM - 2 messages
Hello, guys, Just wonder how to dynamically add controls into a frame, any reference paper, sample source code? Thanks. ...
Aaron -
2 Feb 2006 3:47 PM - 8 messages
Hello all I'm trying to save a record after leaving focus of a text box on a simple form. I have my retrieve & save file code working with Command buttons for testing -- no problem there. Coming from the Access/VBA world I'm accustomed to the After Update event, ...
Charington -
2 Feb 2006 3:37 PM - 6 messages
Hi All I will be working on a project to capture serial data from multiple - different devices via serial ports. Adding serial port boards to a PC really can eat up slots and physical space for cabling. Is there ...
Jereme -
2 Feb 2006 3:30 PM - 2 messages
I am trying to find a way to have MS Word do a mail Merege from a dataset of a datagrid. I set the datasouce of the word.application but it errors out. If there is any way to do this inside .NET . ...
BR -
2 Feb 2006 3:28 PM - 2 messages
Is there a quick way to see if a small pic in a picturebox is in a larger one? I think getpixel and going through about 4 FOR loops might work,, seems like it would be too slow. Is there a way to dump them in arrays and ...
Andrew Virnuls -
2 Feb 2006 1:35 PM - 7 messages
Hello all! I am an ICT teacher, and used VB5 to create an application to allow students to create, search and sort simple databases as they haven't all got Access. The application is pretty simple - a form, tabs, database controls and a ...
Griff -
2 Feb 2006 11:41 AM - 5 messages
Hi I am writing a web application (visual basic language) that must be multi-national. I know that I can handle different languages using resource files. However, I need to extend this application to handle a Thesaurus. By this, ...
Lee Hayton -
2 Feb 2006 10:59 AM - 4 messages
Does a procedure exist to generate the words Today, Yesterday, Monday, Last Week, Two Weeks Ago, Last Month, Older etc. from a given date like emails are displayed in Outlook. TIA Lee ...
dave-mac -
2 Feb 2006 10:27 AM - 3 messages
this is mad... am trying to write a function to return the first cell in a filtered list... but while developing it I came across this... these two pieces of code are exactly the same, except one is in a ...
surena -
2 Feb 2006 9:59 AM - 4 messages
Hi, In the forecolor property of a form, for example, there are numbers like: &H00FF1100&. What are these characters stands for? H means hexadecimal but if the numbers refer to RGB system, then it must have 6 digits not 8. Also what is the meaning of & in the beginning and end of ...
Mike Simpson -
2 Feb 2006 8:41 AM - 3 messages
I installed the new Internet Explorer 7 beta on my PC today and find that none of my VB6 projects which include web browsers work any more. I get an error log as follows:- Line 55: Class SHDocVwCtl.WebBrowser of control WebBrowser1 was not a loaded ...
bartj -
2 Feb 2006 6:08 AM - 2 messages
Hello, Am using VB5 under XP pro. I notice that the forms border colors are controled by the selected windows "color scheme". Is there any way to change this programatically from inside VB to say black? Thanks, Bart j ...
michael -
2 Feb 2006 5:56 AM - 7 messages
Hi I have been using UniBasic (aka DataBasic/PickBasic) for years. If I want to extract the first word from a sentence I would code :- WORD=FIELD(SENTENCE,' ',1) In the above example, SENTENCE is a string. WORD is also a string. ...
dave -
2 Feb 2006 5:10 AM - 2 messages
Hi There Can anyone help to write permutation function for following formula.. nPr = n!/(n-r)! where n is length of given string and r is lengh of subset.. for example..if given string is "abcd" and r = 2 then out put shuld be ...
wxforecaster -
2 Feb 2006 3:13 AM - 4 messages
Say I have a user defined type: Type blah X as String Y as String Z as String etc.... End Type Now I create an array of this type say, Dim foo(0 to 10) as blah If I have a need to re-sort the contents of the array, can I do something as ...
Ulrich Korndoerfer -
2 Feb 2006 2:01 AM - 21 messages
Hi to all, does somebody know how to read the serial number of an USB-Memorystick (Flash-memory). This serial is told to be unique and can not be altered after been written (along with the VID, PID etc) by the ...
Aaron -
2 Feb 2006 2:01 AM - 8 messages
I receive a File Already Open error in the line: ' Open fname For Output As #fno ' of the file Open & write, section 2 I'm Filling a form's text box with a value from a text.txt file ...
James Ma -
2 Feb 2006 12:52 AM - 18 messages
In VB6, I need to make a form appears and got focus every, say 15 seconds. I use code like following in the Timer event handler. But it doesn't appear after it lost focus (only blinking on the task bar). Do you know how to ...
Richard Lewis Haggard -
2 Feb 2006 12:09 AM - 3 messages
I'm porting some VB to C# and have run into a conditional that seems odd. Would one of you who understands VB conditionals better than I please confirm if the logic is correct? I can't figure out where the final AND ...
John Baima -
1 Feb 2006 11:58 PM - 8 messages
I'm making the jump from VB6 + ASP to VS2005. I have a lot of hours to kill this weekend in a car and I was wondering what is the best book for web development for VS2005. I've done a lot of programming with ...
Chris -
1 Feb 2006 11:26 PM - 3 messages
I've added a RichTextBox control to my form (VB6 app) and set the following properties... BorderStyle = rtfNoBorder Appearance = rtfFlat ScrollBars = rtfVertical When I run the application and enter lots of text until the scrollbar comes on I have a display issue with the scrollbar. The main part of the ...
Jagadeesh Sunkavalli -
1 Feb 2006 11:08 PM - 9 messages
Dear All, I hav ea problem with my program, I have done a programming code to execute the Round Robin Algorithm and it's working but I have to implement a differrent algorithm anything other than the FCFS, I donot ...
DRBarkley -
1 Feb 2006 8:35 PM - 4 messages
Hello, My VB6-SP5 program hangs up after receiving a stream of data for a while. The stream is continuous, at approximately 115.2K Baud (it showed ~113K in testing). I have no control over this--it is usually repeating 6 similar bytes (a ...
Claudia Fong -
1 Feb 2006 8:21 PM - 3 messages
Hi, I would like to know if is possible to use VB6 to get information from a webpage using the WebBrowser component. I need to retrieve data from a webpage to store in my local database. For exemple, I do a search for books and the results will be stored in ...
Andrew -
1 Feb 2006 8:17 PM - 13 messages
Hello, friends, We need display user selected .jpg images (32x32) one line by one line in a form. However, since the number of images could vary, it is hard for us to decide the size of container control, say a panel, in advance. ...
KSH -
1 Feb 2006 7:35 PM - 4 messages
I have an application that has been running out in the field for quite a while. It uses the Monthview control. It is all of a sudden failing and coming up with this error when the calendar should be displayed. I used ...
Phil Hunt -
1 Feb 2006 7:34 PM - 5 messages
I followed a step by step procedure to call a .net DLL from a VB6 exe. But it said it cannot create the class. My question is: do I absolutely need ..NET framework set up on the box to run it. ...
Mick Whyte -
1 Feb 2006 7:32 PM - 3 messages
Hi Am using two forms. Form1 accepts entry that populates an array of type: studentsarr(arrelement).studentName = txtStudentName.Text studentsarr(arrelement).studentForm = cboForm.Text etc. Works fine. (arrelement incremented for next entry). StudentName then populates a combobox in form2 For arrelement = 1 To 10 ...
Dave -
1 Feb 2006 6:29 PM - 4 messages
Hello, I'm working on a scheduling application for a department at work and I have a need to load each week and task into a FlexGrid in a manner that's different than presented in the recordset. For example: ...
vonclausowitz -
1 Feb 2006 6:19 PM - 4 messages
Hi All, I need to find a text string in a Word document which has been put inside a textbox. When I do a normal search in Word it will access the textbox and find the text but when I run my code it will not find the text: ...
Pinto1uk -
1 Feb 2006 5:04 PM - 4 messages
Hi, i am using a ado object and a recordset object to connect to my database. this is working fine, but i am having to type in the following lines all the time: Dim adoConnection As ADODB.connection Dim adoRecordset As ADODB.Recordset ...
Camile -
1 Feb 2006 4:32 PM - 18 messages
Is there a way to have a link on a form with VB6? I need the HTML Toolbar, right? It doesn't seem to be included in VB6 Pro. Any suggestions? Thanks ...
sunpalozzi -
1 Feb 2006 4:10 PM - 7 messages
Hello all, I did a project a while back. Everything worked fine. I needed to make some change to it a couple days ago... After I was done with the change and rebuilt the executible, I got an error, missing ...
Brian Shafer -
1 Feb 2006 3:15 PM - 5 messages
Hello, what event fires off when, The user clicks the title bar and moves the form? thanks, brian ...
chuckd777 -
1 Feb 2006 3:03 PM - 2 messages
Hello, I am trying to hide a column in a MSHFlexgrid When i try: MSHFlexGrid1.ColIsVisible(4) = False I get a compile error: "Assignment to constant not permitted" I do not want to set the column's width to 0 because, i have resizable ...
bfryman -
1 Feb 2006 2:52 PM - 4 messages
I have a program developed in Visual Basic 6 that uses an Access database. The program has almost 500 users now and someone called today asking about a run-time error I have never seen before. It is: ...
JP Bless -
1 Feb 2006 2:43 PM - 3 messages
My app needs to be installed in 3 locations A,B and C. All three locations will use either MSDE or SSQL and have Broadband Internet with static IPs. I want to design the app so user will be able ...
ExDelphi -
1 Feb 2006 1:25 PM - 2 messages
Hi all Is there a way that I can display the available internet connection profiles in a combobox using visual basic .net 2003. Something similar to clicking on Start -> Connect To -> Show all connections. I would like the user to be able ...
pedrofs -
1 Feb 2006 12:37 PM - 2 messages
I have the following problem: -I start VB 6 (SP6 with Windows XP SP2); -I choose to create a new "ActiveX DLL"; -I create a Sub foo() End Sub - Press F5 to Run - In "Project Properties - Debugging" I select "Wait for components to ...
Simon -
1 Feb 2006 12:31 PM - 2 messages
Hi Everyone, I am making a game of poping the bubbles that fall but I want to know?? How do I make a sound when I or someone click on a ...
VJ -
1 Feb 2006 12:16 PM - 4 messages
HI, I am wrtting a security tool which will encrypt all doc, xls, etc files on a system drive and after that it intercept read request for that files from any program, it will first decrypt the content of file on the fly and return ...
Georgi nikolovski -
1 Feb 2006 10:29 AM - 2 messages
Hello, I found on planet-source a code how to change wallpaper using ActiveDesktop object. It uses reference to "active desktop vb compatible type library" and works fine. Now I want to add picture to ActiveDesktop witch I will change it daily. ...
Amarios -
1 Feb 2006 6:35 AM - 6 messages
Hello all, "the following message was sent to another ng also - with no luck ..." i have three languages installed in my system. How can i change them through code ? My plan is, when a TextBox that receives only one language info gots focus ...
greg gallager -
1 Feb 2006 12:58 AM - 2 messages
Hello all, I've got to believe this has been asked and answered before, I've been browsing for about an hour..... All I need to do is be aware when an external (DOS) program has finished. The shell command returns a 'task id', is there a simple way (API call?) to ...
jadeandandrew -
31 Jan 2006 9:45 PM - 6 messages
I've seen code snippets using this control using the properties "WebBrowser1.Document.Links" which is perfect for the program I'm trying to write, but I'm using Visual Basic 6 and it doesn't recognise it?! I have inserted the WebBrowser1 control and I can use the document ...
Rick -
31 Jan 2006 9:17 PM - 5 messages
Is there a way to sort by a text field but have it sort numerically. I have an application that I have a text field but some record sets are only numbers. As you know the "order by" does not sort them the way it would if ...
BLACKDOG157 -
31 Jan 2006 7:45 PM - 5 messages
I coded an activeX EXE using Visual Basic 6. (Yes, I'm still in the stone age). Anyway, I wanted a form to appear when the EXE starts. So I added a module, put a "Sub Main" in the module, and set the project ...
Russ -
31 Jan 2006 5:58 PM - 5 messages
I have a combo box (text) field, where folks type in a shoft date using an input mask <or> they select a text value from a value list. The drop eown selection remains in the field. This is what we want - ...
Mick Whyte -
31 Jan 2006 5:52 PM - 5 messages
Hi am working on an app that uses .dat file to store and retrieve. Sending to the file is fine, but the retrieval won't. Code is: Private Sub cmdDisplayFile_Click() Dim index As Integer Dim DataToDisplay As String Dim Quantity As String * 4 ...
vonclausowitz -
31 Jan 2006 5:23 PM - 23 messages
Hi All, I need to add a line of text to the body of a task every day. Everytime I update a task I want to add a line with the date of today at the top: 20060128 20060129 20060130 ...
Richard J -
31 Jan 2006 5:03 PM - 2 messages
Hello group, If you look at the query designer in Microsoft Access, or even .NET, the diagram pane allows you to move and resize the table window within it. Is there anyway to duplicate this feature in VB6 that does not involve ...
Don -
31 Jan 2006 4:57 PM - 11 messages
Can I run a Word Document Macro from within Visual Basic. If so, can you help or direct me to the documentation. Thanks ...
Darrell C -
31 Jan 2006 4:33 PM - 14 messages
I want to open a file for output, but not to overwrite it if it exists? tia. ...
tk -
31 Jan 2006 2:48 PM - 6 messages
When I start a VB app on a Windows XP SP2 machine, I get a dialog from Windows Installer with the following dialog: Please wait while Windows configures Microsoft Office XP... Gathering required information. If I sign on as a different user, I don't get the dialog. I thought it was ...
mulham.haffar -
31 Jan 2006 2:41 PM - 2 messages
hi guys... im writing a client/server application that uses tcpclient/tcplistener to do the comunications... i defined a tcpclient object called "client" and a networkStream called "stream".. stream = client.GetStream() ...
Grant -
31 Jan 2006 1:20 PM - 3 messages
I never had to deal with language in the past. We are getting some request to print certain reports in Spanish. The user are mostly English user so there is no need to change the language in the program just certain reports ...
Rick -
31 Jan 2006 1:00 PM - 5 messages
May be a Visual Basic programmer might answer this question. Compared to SQL2000, Access has its own, original way to build the table relationships in an SQL Statement. I'm trying to build an application with Visual Basic 6 that shows some data ...
SK -
31 Jan 2006 10:03 AM - 4 messages
I have developed a small program (3MB) that is used as a tool form bigger business application. This tool program is password protected and I know all users, but I fear that this tool is being passed to clients of business application - together with password. This means ...
Sabb70 -
31 Jan 2006 7:53 AM - 2 messages
Hi, i have to translate an project developed in Visual Basic 6 on Win 98 OS IT , to a Win 98 OS Japanese , and i have to display all the text in japanese language. What i need , to do this ? ...
Uma -
31 Jan 2006 6:02 AM - 3 messages
Hi, can any one help me to pass the value from one vb application to another vb application. Regards M. Subbaiah ...
angelito tan -
31 Jan 2006 3:09 AM - 17 messages
just wondering where does the password go after it's created ??? coz it really make me confuse since i'm using xp .. what if u forgot ur password, how can u get it ?? ...
wowbagger -
31 Jan 2006 2:33 AM - 6 messages
I'm starting to play with VB 2005 (express) and think I'm missing something with regards to arrays of controls. I am in need of an array of text boxes on the form with a quick and easy way to sort through rows and columns (I'm playing around with a matrix ...
oldtimer -
30 Jan 2006 11:49 PM - 5 messages
I am trying to extract the characters from a word document within a VB6 app by declaring a WORD.APPLICATION object, Adding a WORD.DOCUMENT object and then trying to access the character array. It appears what I thought was a ...
di98mase -
30 Jan 2006 9:06 PM - 6 messages
How should I do to create an array of all my image objects found at my form. The code below does not compile. I dont understand why? What I want to do is to create an array of all image objects found at ...
BobbyS -
30 Jan 2006 8:56 PM - 12 messages
Using VB6 I have created an array using numbers (from 0 - 24). I want to randomize the numbers to fill the array but if a duplicate number is generated by the random function, disregard that number and go on to the next ...
John -
30 Jan 2006 6:40 PM - 3 messages
Hi, I'm using as class to create multiline tooltips. I have a screen with more than 1000 little frames and they all have a multiline tooltip. Because of the tooltips the program is very slow. I'm creating the tooltips at the ...
Stephanie -
30 Jan 2006 5:20 PM - 5 messages
I have VB.NET 2003 installed that I used in a recent college course. It worked fine. This week I started another class and when I went to open a project, I got a fatal error. I tried to reinstall VB.NET and got the same error. ...
Mwob -
30 Jan 2006 4:47 PM - 3 messages
I have a confusing problem with VB binary compatibility that I am unsure how to solve. Here's the scenario: I have a ActiveX class library (DLL) called DLLproject1, that contains amongst other things a class - called for the sake of simplicity ...
arno -
30 Jan 2006 3:53 PM - 4 messages
Hi, I am having difficulty with achieving the following: I have a UNC path, say \\machine\dir1\dir2\dir3 I want to: 1. check if it exists 2. if not, create it. The first thing is not a prob, but I am having problems with the ...
newsgroups.jd -
30 Jan 2006 1:01 PM - 4 messages
Let me start by saying I am a noob to VB.net and am not a programmer. I am trying to learn and would like to get this to work... I have users that leave their computers on all night and I want them to ...
|
|||||||||||||||||||||||