|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Jack -
21 May 2005 10:50 PM - 13 messages
Hello, line of code: chkAutoPlayIn.Enabled = True does not make it true. After executing that line the checkbox is stil disabled. Why? ...
Jim -
21 May 2005 8:28 PM - 2 messages
Hi, I'm writing a VB6 application that reads data from one Excel spreadsheet and puts it in the cells of a second Excel spreadheet. Then I want to print (to the printer) the 2nd spreadsheet from VB. Is this possible, how? ...
Hector Lam -
21 May 2005 4:18 PM - 2 messages
Dear All, I am very green in VB programming and it is highly apprecipate if any exert could give me some hints about the captioned. I use MAPI to create a program to send email in a VB program. When every parameters are ready, I type: ...
SmilingPolitely -
21 May 2005 1:28 PM - 8 messages
For various reasons I would like to have my data stored in two text files. The data in one file is related to the the data stored in the second text file, in a (simulated) one-to-many relationship. One file is ...
Val -
21 May 2005 9:10 AM - 5 messages
Can someone please tell me where to find the import wizard to convert VB6 code to VB.Net? Thanks, in advance, Val ...
Lynn -
21 May 2005 6:32 AM - 6 messages
Hi, I got this error when trying to run a program which i think was written in VB: Run-Time error '-2147024769 (8007007f)' Automation error The specified procedure could not be found. pls help. thanks ...
wxforecaster -
21 May 2005 4:32 AM - 8 messages
I usually don't get involved with raw binary bit streams, but I have a project where I'm reading in some compressed data and nead to convert it to a specific format. Given 4 bytes of data, we'll call them b0, b1, b2 and b3 ...
Walter Steadman -
21 May 2005 3:52 AM - 13 messages
Greetings all, Just writing to get some advice and ideas on a project I want to attempt in VB. We have a Rec Center where we have 20 computers and 10 IP Phones. When users come in, they are allowed 20 minutes of time to use the computers ...
Brian Shafer -
20 May 2005 9:00 PM - 7 messages
Need help with this... I have a form that is lined off into squares... using for drag and drop... I have a map(index) of this form.. so when the user drops something on one of the squares it does a specific sql statement. What ...
Faraz Azhar -
20 May 2005 8:14 PM - 7 messages
Hello Im filling a listbox with all the fonts installed using Screen.Fonts & Screen.FontCount. Now all the names are listed in the listbox. I want to create a function that when I click on the font name in the listbox it would ...
Faraz Azhar -
20 May 2005 8:14 PM - 5 messages
Hello Im trying to create a window (dialog form) that will display the list of all the fonts installed on the system. I could create a control instead, but since its going to be used only once so Im creating the items directly into ...
Joel Whitehouse -
20 May 2005 8:05 PM - 3 messages
Hello Everyone, I am writing some software to use a couple of data aquisition cards to control a hardware test. My test control software has several windows to permit user parameter entry and to monitor test status. Throughout ...
Bryan Dickerson -
20 May 2005 7:56 PM - 8 messages
Does anyone use it? I recently had to re-setup my machine and just realized that I hadn't re-installed it. I tried codehound.com, but I didn't find it. Hmmm.... Anyone know where I can download a copy? ...
max -
20 May 2005 7:51 PM - 4 messages
Is is possible to print directly to a printer without going through the Spool with VB in a XP Pro environment? I want to print some serial numbers on some preprinted forms (about 20K forms) but not one at a time. Is it possible to work with the printer directly?? ...
Ryan Taylor -
20 May 2005 7:06 PM - 4 messages
Hello. I have a VB 6 application that is utilizing a C# assembly that exposes a COM interface. When I run the binaries that application works wonderfully, but when I try to debug the VB application I I get a ...
John Baima -
20 May 2005 7:01 PM - 3 messages
A long time ago I made a change to another system to change the default "save to" directory but now I cannot remember what value in the registry was added/edited. Any help? -John ...
Jeff Harbin -
20 May 2005 6:40 PM - 10 messages
I've written a VB application and I have it triggered using a scheduling program each day at 3 am. The program crunches some numbers, prints out a Crystal Report that uses a ACCESS database as it data source, and opens the ACCESS database with an ...
Casey Provance -
20 May 2005 2:22 PM - 6 messages
Okay, here is where I am. I have a class file that displays a tray balloon when the need arises. There are five different cases (alerts) where displaying this balloon would be desirable (user choice of course, but for this example, let's assume ...
Marty -
20 May 2005 1:59 PM - 5 messages
Hi, There is something I don't understand. Here is it: sglPrice = 102.7 sglAVGPrice = 102.72 (this is the result of a average calculation, it is formatted with formatnumber(number,2)) ...
David -
20 May 2005 1:36 PM - 5 messages
Hi I'm very new to VB and am doing a college project. I have designed an order form where the customer inputs product quantities and can calculate the sub-totals and grand total, clear the form, print it and close it. This all ...
Richard Sherkin -
20 May 2005 1:11 PM - 2 messages
have been using a standard Package and Deployment method for some time now to install a suite of applications written for my site. The client suite, a group of VB6 applications, is installed on a Windows 2003 Terminal Server. ...
Nick Michell -
20 May 2005 11:57 AM - 3 messages
Hi, I want to "read" the Call Stack at run-time within an error handler so I can report both the error and the code "path". Situation is an existing VBP with some manual calls to Event handlers - for instance Sub btnFoo_Click is sometimes executed from other parts ...
kies -
20 May 2005 10:15 AM - 7 messages
Hi everyone, Does anyone happen to know how can i get my splash screen to appear above/ on top of my application when the application loads. ie: i want to see my 1st form in the background and the splash screen in the foreground. ...
balu -
20 May 2005 5:53 AM - 2 messages
Hi, I had to monitor a client's desktop from a server. When a window on the client side is maximised or minimised , that window must be maximised or minimised on the server side. Server must know about all the windows opened ...
Gene Hall -
20 May 2005 4:23 AM - 6 messages
I'd like to connect a scanner to the USB port and read the data using VB. I can do it easily with a serial port connection but the USB is out of my league. Any help? ...
gwen -
20 May 2005 4:08 AM - 5 messages
hi all, how do i read/get the values of an entire column in the msflexgrid? i can select the whole column using the clip function, but how do i get the values in the column? please enligten me. gwen ...
Joseph Geretz -
20 May 2005 4:05 AM - 9 messages
This code used to run on Win2000 Server, with CDONTS Dim objSession As Object Set objSession = CreateObject("MAPI.Session") I'm trying to compile this for use on Win XP. Naturally, I'm no longer ...
Thief_ -
20 May 2005 2:37 AM - 11 messages
Not sure how many are aware, but lets say you know there is a VB function to do something but you forget the name but know sort of what it is called, you can type in VB as you are coding: VBA. and once you press the . the ...
John Willsey -
19 May 2005 11:46 PM - 3 messages
What's the maximum size for a resource file for a Windows program? I'm trying to embed a 268 Meg binary file in an empty resource file. I'm successful inserting it, but when I try to save the resource file, MS Visual ...
Telemachos Koumartzakis -
19 May 2005 11:05 PM - 2 messages
Hello everybody! I have problem while packaging my application. I get an error "Missing Dependency Information". In the list, there is a file which is the ocx of a srpread I use. After looking on the internet I tried some solutions but none ...
Adal -
19 May 2005 9:50 PM - 19 messages
Hi, I was just wondering if any of you uses this function to prevent your app from loading n times...I was just curious to know if it was still in use, since I saw a lot more complex ways to achieve the same thing. ...
David McDivitt -
19 May 2005 8:48 PM - 41 messages
I have been reading newsgroup postings, trying to find a solution to my problem. I need to call a DLL made with the cdecl calling convention. I assume it has that convention because I get the error "bad dll calling ...
oc7 -
19 May 2005 7:25 PM - 3 messages
Hello, anyone know of a good free/shareware program that prints vb source code. Thanks. ...
HLong -
19 May 2005 5:06 PM - 5 messages
I have a textbox where the user could input a string or a list of strings separated by ";". I use the split function to get an array. Now, my problem is that I need a way of controling that ";" is used and not other separator ...
Martin Nemzow -
19 May 2005 2:02 PM - 3 messages
I need to change the titlebar backcolor of various forms, say to red, orange, yellow, blue, and green but cannot figure out how to do this on a per form basis. API's or whatever. This is easy in Linux, Solaris, but I am ...
André Nobre -
19 May 2005 12:46 PM - 4 messages
Hi all.. I have a Stored procedure that opens a cursor. I want to know if there´s way to access this cursor from VB. I tried using Set rs = cmd.Execute but it didn´t work, i think because the cursor is not as output return. Below ...
Peter Aitken -
19 May 2005 12:32 PM - 6 messages
I see a product from Aivosto Spftware called Project Analyzer that claims, among other things, to analyze your VB6 code for various problems, locate "dead" code, analyze call trees, and so on. It also claims to analyze VB6 code in terms of upgrading it to .Net. Does anyone have any experience with ...
Ken -
19 May 2005 12:07 PM - 7 messages
Hi all! I'm looking for a fast method for adding items to a list, verifying if the item is already listed, in order to prevent doubles. Thanks a lot in advance for any ideas ...
shareware dev -
19 May 2005 11:49 AM - 6 messages
I want to use an Inet control to download a Microsoft install program (in this case it is MSDE SP4, but I think this is a more general question than how to get the latest MSDE). To do this, I need the url of the program. The ...
Ticrito -
19 May 2005 9:07 AM - 3 messages
Hi I need to know which the property that indicates me total numbers of lines and Cols in the DataGrid? Thanks H.S ...
L Mehl -
19 May 2005 6:04 AM - 3 messages
Hello -- Can anyone recommend a utility or technique to rename an object everywhere in my VB project ... Forms, Modules, Class Modules, and Designers? I am pretty sure the VB editor would work if I did not have to deal with ...
555 Rider -
19 May 2005 4:23 AM - 3 messages
I need to read a text file which is UTF-8 Format and output to a standard ASCII format in VB6. I found that the output file was stroed a lot of incorrect character. How can I convert the character from UTF-8 to ASCII in ...
Jack -
19 May 2005 1:47 AM - 7 messages
Hi, My form uses several different icons. To change the icon I use nid.hIcon = LoadResPicture(10, vbResIcon) Shell_NotifyIcon NIM_MODIFY, nid How to check programmatically which icon is loaded at the moment? Sometimes my code reloads temporarily form's original icon (Me.icon) and ...
Martin A. Weinberger -
19 May 2005 1:26 AM - 6 messages
Hi all, I'm using VB6's Report designer along with a Data Environment. I created a connection in the Data Environment to my database, which has 5-tables. I saw all the tables fine from the Data View and was able to insert them into a ...
gary -
19 May 2005 12:11 AM - 4 messages
I want to place adjustable headings above a list box so the user can adjust the field width as is done in many programs. I can’t find any examples searching with goolge. I must not be asking the right ...
sonomaenterprises -
18 May 2005 10:41 PM - 4 messages
I have a VB6 Application that has a form that has 2 radio buttons and a few other basic controls (drop down, command button, text box, etc). On one machine these radio buttons show as black boxes. Has anyone seen this before? ...
PC -
18 May 2005 10:21 PM - 4 messages
in the first program i have a form with on it some controls some textboxes some command-buttons and a frame-control on this frame-control i have a textbox in a second program i search for the form in the first program with ...
HotRod -
18 May 2005 7:52 PM - 11 messages
I've seen some online CHIP's that can be programmed using C++ but I'm wondering if anyone knows of an CHIPs that can be programmed using VB? I'd prefer not to have to learn a new language just to experiment with this. ...
Shyma Mohaisen -
18 May 2005 7:50 PM - 2 messages
Hello All I have a very basic question. I want to allocate dynamically an array in VB the size of a variable i will know at run time. What is the way to do that? plesae advise me thanks ...
Shyma Mohaisen -
18 May 2005 7:50 PM - 2 messages
Hello I wish to dynamically allocate an array of booleans in VB the size of which i will know form a variale i will know at run time. how do you do that? plesae advise me shyma best regards ...
Martin Neumann -
18 May 2005 5:33 PM - 6 messages
I am trying to print a form from VB where the print offset on the page is very critical. I have aligned everything properly using the Acrobat Distiller print driver. Now, printing to a real printer I find that the ...
RONGGGG -
18 May 2005 5:28 PM - 7 messages
I have to support our one remaining VB6 project on one machine. For some reason, all of a sudden, when I load the project, I get "file format no longer supported" for the Microsoft Windows Common Controls. I need the ...
iwdu15 -
18 May 2005 5:10 PM - 4 messages
im trying to print text in a rich text box, i tried the way on the MSDN but i cant find the .dll i made, and i used the search so its not on my comp....anyone kno a way i can print a rich text box or help with my missing ...
Bryan Dickerson -
18 May 2005 5:05 PM - 4 messages
I have a routine (a method in a class) that customizes a Word document for attaching to an email and sending out. Recently our marketing folks wanted to get a bit more fancy with the document and asked that I put some 'custom' ...
Stlun -
18 May 2005 4:25 PM - 18 messages
I'm trying to convert a unix-formatted string to dos using replace as following. Public Function ConvertUnix2Dos(strUnixInstring As String) As String 'Find Linefeed and replace it with CarridgeReturnLinefeed ConvertUnix2Dos = Replace(strUnixInstring, vbLf, vbCrLf, 1, ...
Alan Silver -
18 May 2005 2:26 PM - 10 messages
Hello, If you use a common dialog control to create a file open dialog, then the list box (I guess it is) that shows the files also shows folders. The standard Windows controls don't seem to have such a list box, they ...
YYZ -
18 May 2005 2:15 PM - 3 messages
I've got the code to spellcheck a bunch of things in my app (by automating Word from VB6), and it works great, but now my users have a different request. They want me to take something out of the database, and spellcheck ...
Sharrukin Amiri -
18 May 2005 1:07 PM - 4 messages
Hello, To create a form object, it is: dim f as form1 f.show How would create a command button and attach it to the form creation at run time (Code wise)? Thanks! ...
Roman (CZ) -
18 May 2005 11:48 AM - 2 messages
Hi there, I am just desperate starting to debug my very first .NET app (I'm upgrading from VB 6) and have big problems. When I make some changes to my app and try to debug it, those old (deleted) ...
Macsicarr -
18 May 2005 8:44 AM - 6 messages
Hi Basically what I want to do is allow the user to click a button and submit their high scores to my web site so that the web site can store this data and show it as that person's submission. This extract and submit bit seems ...
kies -
18 May 2005 6:21 AM - 3 messages
Hi everyone, I'm new to vb6 so pardon my stupid question. I was wondering if anyone can tell me or direct me to some code snipets with regards to retieving the text displayed in an entired colum in the msflex grid? Thanks! ...
Martin A. Weinberger -
18 May 2005 6:14 AM - 2 messages
Hi All, How do I access columns using the Item object of the Table.Columns object in the order that I appended the columns, where I specify the column index, rather than receiving the column that is alphabetized. For instance.. ...
Ant -
18 May 2005 5:39 AM - 4 messages
Hi, this should be easy but I must be missing something. I am changing the value of a textbox array by looping through it. I am using 'With - End With' to simplify the process. Even though I can see the inCnt ...
Troy Street -
18 May 2005 12:47 AM - 12 messages
Hi, I am looking for some clues, code snips, or any helpful hints regarding the ability to ping an IP address and check the return (similar to the ping at the command prompt in DOS). As far as I can tell, I can't do it with ...
krollenhagen -
17 May 2005 10:51 PM - 4 messages
First off, let me say I am new to vb. I am wondering if anyone out there knows how to get my public ip address from my router. What I want to do, is make an application that can be put in the task scheduler and run every 30 ...
Shailesh Patel -
17 May 2005 8:54 PM - 11 messages
Hi, How do I assign yes/no format to yes/no datatype in access using ADOX object? Thank you. Shailesh ...
oc7 -
17 May 2005 7:20 PM - 2 messages
Hello, I'm using a TabStrip control for the first time and I'm having a problem. Maybe because of my lack on experience with this control. I have several tabs, and I want to put some control on each tab. But when I click on ...
Macsicarr -
17 May 2005 7:14 PM - 4 messages
Hi Everybody I'm in the process of using a resource file to store my pic, sounds, icons, etc and I wondered if you could answer the below queries for me: 1) Is there any 'close' routine that needs to done (like I usually would ...
Tim Baur -
17 May 2005 6:42 PM - 4 messages
Does anyone have a function handy that calculates elapsed time for business days only? I just need to exclude weekends - not holidays. TIA, -Tim ...
Bill Armitage -
17 May 2005 5:52 PM - 5 messages
I'm converting some old Fortran to VB6. The Fortran Data statement allows the allocation of disparate values to a predefined array eg the Fortran Data statement DATA NSQ/64, 8, 99,9*0,12*5/ ...
Alan Silver -
17 May 2005 5:07 PM - 25 messages
Hello, I would like to display a picture on a form, but have the picture loaded from a web site rather than from the local disk. I tried using a web browser control, but this seems to need a lot more ...
Chris -
17 May 2005 4:32 PM - 12 messages
Hi all, I am really racking my brains over this one. I have some code as shown below, the PC`s it runs on are both windows XP. The code below is to highlight a row in a mshflex grid just below another ...
JoeO -
17 May 2005 3:25 PM - 46 messages
I would like know... are the folks at MSDN professional programmers who thus know how to organize, explain and present MSDN library topics in useful easy to find and understand format or are they just technical writers who do not ...
Peter Aitken -
17 May 2005 2:59 PM - 5 messages
Does anyone know how you go about hooking a web page into a real estate Multiple Listing Service database for a specific geographical area? Do you have to join some group or pay a fee? Thanks. ...
Bruno Köller -
17 May 2005 2:48 PM - 4 messages
I want to have a usercontrol containing a picturebox where I can read/write all properties or call all methods from outside, something like mycontrol.mypicturebox.property = value I defined a variable Public PICBOX as Picturebox but when I call in the initialze event ...
oc7 -
17 May 2005 2:10 PM - 6 messages
Hello, I'm in the process of updating a application I created in VB6. So it looks more modern. Can someone tell me how I can change the Tabs on my form, to look more like the tabs you see when you select Tools\Options in the VB6 ...
Alain -
17 May 2005 1:58 PM - 4 messages
Hi everybody, I'm trying to develop a schedule. Is there a control in VB or information to help me? Thank you! ...
blue blue -
17 May 2005 7:53 AM - 15 messages
Q:What's this ? Data .UpdateBatch adAffectAllChapters .CancelUpdate .Recordsets thanks! *** Sent via Developersdex [link] *** ...
ajay_gs -
17 May 2005 6:53 AM - 7 messages
please help me with checking the spell mistakes done in richtextbox or
normal text
--
ajay_gs
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
tim -
17 May 2005 5:45 AM - 10 messages
I am writing an application that needs to determine what version of another application running on a computer I have. Is this information accessible using VB6? If so, is there a VB function/Object that does the job? Thanks in advance ...
David C -
17 May 2005 4:16 AM - 3 messages
Hello all: I am trying to automate some of my weekly routine. Part of this includes going to a public info site and putting in dates into two text boxes, hitting the submit button. I then import the information from ...
Lorne Steiner -
17 May 2005 2:01 AM - 2 messages
I am using a Common Dialog box to search for a file name and return the file name. Yes it returns the entire path which is ok, but how can I isolate just the file name without the path when returned? ...
Jonny -
17 May 2005 1:31 AM - 5 messages
What is the smallest Interval a Timer can use? MSDN says that Interval can be from 1 to 65,535. "Sets an interval (in milliseconds) that takes effect when a Timer control's Enabled property is set to True. For example, a value of 10,000 milliseconds ...
Trammel -
17 May 2005 1:13 AM - 15 messages
I wish to have an update.exe run first, download updates into .dat files and then execute main.dat as an executable so that my program only has one .exe file and looks integrated with loader. Does anyone know of a method I could use so that "Loader.exe" could run ...
tomS -
16 May 2005 11:00 PM - 3 messages
I m trying to count each time I click a click event procedure. I know its a simple routine but for some reason it escapes me. Eg. say a user has a choice of x or o and I want to count how many times he clickes on x(x and o are ...
Chris Lieb -
16 May 2005 9:42 PM - 11 messages
I feel like a real n00b asking this question. How do you copy the instance of an object? Using Set creates a reference to the same object, which is not what I want. I tried a simple clone function that took an object by value ...
Michael Handy -
16 May 2005 8:41 PM - 5 messages
Hello, I am trying to make WebBrowser1 to fill text1.text with the clicked URl of the opened web page but I don't want WebBrowser to execute the clicked link. For Exp. a link to "[link]" will only fill ...
Jerry West -
16 May 2005 7:38 PM - 4 messages
I was reading through the MSDN trying to determine whether or not the CreateProcess function can be used to call DLL functions. Specifically, I want to use CreateProcess to call UpdateDriverForPlugAndPlayDevices. It isn't clear to me from reading through the MSDN, nor from searching around ...
Chopin -
16 May 2005 6:48 PM - 9 messages
I have a function which prototype looks like the following: RequestValue([in] BSTR strCategory, [in] BSTR strProduct, [out] LONG* status, [out] VARIANT* vValue) I declared a LONG variable as follows: Dim lStatus As Long ...
Alan Silver -
16 May 2005 6:43 PM - 10 messages
Hello, I need to add a toolbar to an application, but don't want to use the one that comes with VB (if you've ever used it, you'll know why). I have downloaded the VB Accelerator one, which looks great, but it's so ...
Bala -
16 May 2005 6:18 PM - 4 messages
Hi Using this api and function, ( got it from here only) i am loading the folder name into my list box on vb form. i crated nearly 35000 empty folders. after loading the folder names into list box its says count -30535. i dont ...
Lance -
16 May 2005 5:15 PM - 11 messages
hi all, i've got a multiline textbox that is updated at a set interval with updated data. the amount of text displayed is always 57 kb of text. if the user is currently scrolled to a certain line in the textbox, i'd like for it scroll ...
Mike -
16 May 2005 4:51 PM - 3 messages
I have an ActiveX exe file that uses another ActiveX exe as a reference. A while back, a change was made to a class in the referenced exe that appears to have broken compatibility. Now, when attempting to run the first exe, I ...
Jim McC -
16 May 2005 4:10 PM - 3 messages
Hope someone can help us. Apologies for the long post (below). We are having problems with our merged HTML Help system (.chm file). When accessed directly from Windows Explorer, it works fine. When accessed from the application, the CSS and JavaScript ...
Dave Rudolf -
16 May 2005 3:53 PM - 3 messages
Hey all, I'm trying to write records to a record set and I'm getting the following run-time error: Runtime error -2147217887: Multiple-step operation generated errors. Check each status value. ...
Marvin van Dongen -
16 May 2005 3:50 PM - 13 messages
Hello guys, I've been reading alot about the VB6 / .NET trouble. Unfortunatly, many sources are telling opposite things. What i'm interested in is: -Will VB6 be further developed in the future (i think there's a definitive NO to that). ...
Tieu -
16 May 2005 3:39 PM - 3 messages
Hi, How can I detect a key when users press something, even if the application is not in focus. I tried Form_Keypress, KeyPreview... but it only works when the VB program is in focus. Thanks in advance. ...
js -
16 May 2005 3:18 PM - 2 messages
sorry for the muti post, other group didn't have someone to answer my question: I just need 3d navigation and zoom in & out operation, can I use VB(not VB.NET) to do that? thanks... ...
Marvin van Dongen -
16 May 2005 3:08 PM - 2 messages
Hello, I'm creating a program for several customers. Since this is the biggest application i've ever developed, i'm bumping into some problems. The problem i'm having now i that i want to be able to develop add-ins, wich they can ...
Chris Lieb -
16 May 2005 2:48 PM - 5 messages
I am trying to recreate the dialog that appears when you manually run a DTS package (DTS.Package2) in SQL Server 2000. To populate the list, I iterate through the Tasks collection and put each item's description in its own row. ...
|
|||||||||||||||||||||||