|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Jim Richards -
28 May 2005 9:22 PM - 6 messages
Hello. I finally got the Package/Deploument Wizard to work (I thought) but when I install the application on my other PC and run it, I get error: 'Path not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I thought ...
Frank Rizzo -
28 May 2005 5:58 PM - 6 messages
Hello, I distribute an app to various folks that allows them to connect to various SQL Servers. I have no control over what version of ADO they have installed, but it's version 2.5 or higher. With ADO 2.5 the default connection protocol was named pipes. With ADO ...
PM -
28 May 2005 3:10 PM - 2 messages
After users click on a button on a main form, they are presented with a question. If they answer 'Yes', the next form is to open with records visible for them to choose from. If they answer 'No', the same form is to ...
Clamara -
28 May 2005 1:20 PM - 2 messages
When adding a new record from my form, I pre-set my DateTimePicker's value to System.DateTime.Today Since the "Today" value is used most of the time, the user doesn't need to select a date from the DateTimePicker, since the default is shown. My problem ...
Jim Carlock -
28 May 2005 4:27 AM - 2 messages
Interesting stuff? [link] ...
Martin -
27 May 2005 11:41 PM - 6 messages
In my VB6 program, I'm executing a query against an MS Access database in which I want to return all records which have a specified date in a date field. The problem is, if I say: ...WHERE MyDate = #5/27/05# then ...
Ed Wyche -
27 May 2005 11:28 PM - 3 messages
Right in the cmdTest there is the variable "I". I would like to have "i" as the index value of the control array but it keep giving me a -1. I would like to have it if I click on the first command button it will be i=0 and so ...
RB Smissaert -
27 May 2005 10:35 PM - 8 messages
How would I make a VB6 .exe file that can manipulate data in a running version of Excel? I am thinking of something like this: Sub MakeNumbers() Dim xlApp As Excel.Application Dim arr ...
Marv Wade -
27 May 2005 9:49 PM - 6 messages
I currently populate a list box, (sorted is set to true) with a group of. names. There is a text box that allows entering a part of a name. As the name is entered the I remove all names not matching what has so far been ...
kermit -
27 May 2005 9:01 PM - 2 messages
I have a VB (6.0) application that uses the Outlook object to read the inbox and automatically print selected e-mails. The customer's machine is running Win2000 SP 4. Outlook 2000 SP3. One week it was working just fine. Then IS put an Office 'update' on the ...
John Brown -
27 May 2005 8:50 PM - 3 messages
Visual Basic has Sin and a Cos Functions. It does not have a ArcCosine function. Microsoft Excel does have a ArcCosine function named ACOS. Is there any way to get a function for ArcCosine in VB? ...
Terry Diederich -
27 May 2005 8:27 PM - 2 messages
I have a VB6 app that uses the DBGrid32.ocx. Under XP with Service Pack 2 when the user enters data into a cell and then moves to a different row, the grid scrolls the rows up so the row that was just edited is the top row. ...
Cam -
27 May 2005 6:52 PM - 7 messages
I am using the GetUserName API and want to know where the API looks to retrieve the username.I know the documentation say "The GetUserName function retrieves the user name of the current thread. This is the name of the user ...
Marc Friedman -
27 May 2005 5:17 PM - 5 messages
I have a VB6 application which uses HTMLHelp. When running the executable, there are reproducible instances where selecting help causes a blank help window to appear at which point the application goes 100% CPU bound and eats up memory for about 30 seconds and then crashes with: ...
Paul fpvt2 -
27 May 2005 5:00 PM - 8 messages
We have a VB 6 application that calls an ActiveX exe (this ActiveX exe has a timer with time interval = 1, so that it right away exits out of the ActiveX exe and let the main application be free to do other things). The ActiveX ...
Bala -
27 May 2005 4:06 PM - 11 messages
Hi In my project, Using FindFirstFile,FindNextFile and FindClose APIs, i am loading the folders in to listbox (for ex c:\temp\). The problem is some of the clients having this problem,like in that particular folder they have nearly 50 Sub folders. but the api loads nearly 30 folders, its not loading ...
Jim Richards -
27 May 2005 3:14 PM - 6 messages
Good morning. When I try to use the Package/Deployment Wizard to generate all the files the end user will need to run the program, I get an Error Msg: "Unexpected error number 429 has occurred: ActiveX component can't create ...
Wyne -
27 May 2005 3:09 PM - 5 messages
Hello, I have a VB6 (enterprise edition) IDE. Now I want to develop App for PDA. Can I use my current IDE to develop it? If not, what tool I have to use? Thanks ...
Bruno Köller -
27 May 2005 2:59 PM - 5 messages
I have written a class clsFINDFILE (which collects filenames calling FindFirstFile and so on), and a second class clsBACKUP which contains some backup jobs doing something like that: DIM FF as clsFindFile SET FF = New clsFindFile FF.FindFiles path, filemask 'collecting files ...
Jacquelin Hardy -
27 May 2005 2:05 PM - 2 messages
The title is a better traduction for my last message. I get that. What does it mean ? Jacquelin Hardy ...
Jacquelin Hardy -
27 May 2005 1:58 PM - 2 messages
Hello group, I get the above error trying to execute a software that I wrote. It works OK in developer mode. It compiles OK. But it stucks with the above error (translated from french) when i try to execute the .exe version. ...
Robert -
27 May 2005 11:13 AM - 6 messages
Hi, I need some hints for the following problem. I have a VB 6 application that needs to write data (text and image) to a Ms-Word document (template) So I created a Ms-Word document with some bookmarks. The VB App is able to ...
Stlun -
27 May 2005 9:14 AM - 10 messages
I want to declare a string with just one quotation mark, how can it be done? Ex. Dim strQuotationMark As String strQuotationMark = """ If I try to declare like above VB just fills up with one more quotation mark?! results Dim strQuotationMark As String ...
Compu-Celebi -
27 May 2005 3:19 AM - 40 messages
I have developed the function below to extract consecutive bits from text. However, executed through Lempel-Ziv-Welch compression/decompression, its acceleration is insufficient. Function Bits(sData As String, dStart As Double, dLength As Double) As String Dim dBit As Double ...
Compu-Celebi -
27 May 2005 3:08 AM - 3 messages
How can Windows' screen saver be programmatically disabled or enabled? ...
Ed Wyche -
27 May 2005 12:21 AM - 12 messages
I have a form with a sstab with 97 tabs and each tab has another sstab with 4 tabs. Each one of those tabs has 5 items on it and I get an error after doing a couple of them because I run into the problem with to many controls ...
Thief_ -
26 May 2005 11:21 PM - 6 messages
I need to create one procedure to control the data input into an array of textboxes. I need it to work with an ARRAY of textboxes. Is there any way of doing this? Note that the textboxes are ALREADY on the userform so I can't use dynamic ...
hamil -
26 May 2005 11:21 PM - 3 messages
I have an application where I want to start multiple instances of the same VB6 program with different command line arguments for each instanciation. I thought I could write a bat file as follows.. MyProgram "This is the first command line argument" ...
Martin A. Weinberger -
26 May 2005 10:23 PM - 6 messages
Hi all, I created a DataEnvironment and a corresponding DataReport. The DataEnvironment has a commaind (main table) and two other child-commands that exposes related data other tables. The concept is identical to what the NorthWind database uses with its "Orders" and "Order Details". I set the ...
Martin A. Weinberger -
26 May 2005 10:21 PM - 4 messages
Hi all, I've noticed that if I call DataReport1.Show that after I regain control after that call that the MDB file that the report used still has a lock on it, as is evident by the LDB file. I've even tried calling "Unload ...
Macsicarr -
26 May 2005 10:10 PM - 2 messages
Hi All I'm using a ROT13 derivative that somebody kindly sent me to use in my VB app, but I don't know how to make the gobble-de-gook that it creates URL-friendly. I'm using a shell command to initiate the web browser, which I tag my ...
Karl E. Peterson -
26 May 2005 7:46 PM - 23 messages
Hi -- I have an odd set of requirements that got flummoxed by the maximum URL length limitation. In short: * VB5 app with no dependencies other than runtime, * Create an email, ready to send, using default mail client, ...
Marc Lyon -
26 May 2005 3:48 PM - 2 messages
Hello VB'ers, I have spent a frustrating few hours searching for a particular control. I am going to continue searching, but thought it might be more productive to put the question to those with more experience than I. My company is looking for a file comparitor ActiveX control to integrate ...
Dale -
26 May 2005 3:44 PM - 6 messages
Hi all This shoud be a simple problem to fix but it is perplexing me. I have the following in my LostFocus event. If the condition exists, I'd like the focus to go right back to the CustomerDirectory textbox. ...
gorostas -
26 May 2005 3:25 PM - 3 messages
Helo everyone! I'm making some little app whitch will help me to get things automated,,,im in the need very often to make some little changes to some files, and something like this: dim string1 dim string2 dim temp ...
Dave -
26 May 2005 3:59 AM - 9 messages
Hello, I'm an experienced VB6 developer and new to VB.net. Its kind of unusual, but most of my VB6 code is business logic, not GUI stuff. I've found a lot of commentary on VB6 vs VB.net GUI differences, but very little about the ...
Dave -
26 May 2005 3:56 AM - 6 messages
Hello, I have a lot of VB6 code under development and support, but want to experiment with VB.net. Can I install/use VB6 and VB.net on the same machine without conflicts? Are there any "tips and tricks" I should know about doing ...
Chris -
26 May 2005 2:05 AM - 4 messages
Hi, Can some one please point me in the direction of some C# code that will resize all controls on a form when the form is resized. Thanks ...
AGP -
26 May 2005 1:21 AM - 7 messages
Im trying to rstore a form to its prior state. If you minimize a form and then right click on it in the taskbar then there is a menu item labeled "Restore". That is what i want to emulate. Note that simply using me.windowstate = vbnormal ...
Alan Swan -
26 May 2005 12:36 AM - 2 messages
Hi all, Apologies for sending this here. I normally post message to Deja news group through [link] site. How do I set it up in my outlook express? What would be NNTP server name? Thanks in advance. ...
Macsicarr -
25 May 2005 8:41 PM - 2 messages
Hi All Could you please help me with this because I am going round the bend. In essence, I'm working with the following type of array: arrNames(x,y) x always equals 0 in this case because I'm working with 1 dim here ...
Macsicarr -
25 May 2005 8:41 PM - 7 messages
Hi All Could you please help me with this because I am going round the bend. In essence, I'm working with the following type of array: arrNames(x,y) x always equals 0 in this case because I'm working with 1 dim here ...
Richard Albrecht -
25 May 2005 8:15 PM - 2 messages
I have been trying to figure out for days on how to read values from a Bound ListBox. The listBox gets the values from an Access Table. I can read values fine for Non-Bound ListBoxes, But the same code doesn't ...
Jennifer W -
25 May 2005 8:14 PM - 8 messages
Does anybody know how, from VB 6 , I can run Internet Explorer and show an htm file from the disk drive ? I'm using Windows XP Thanks, Jennifer ...
Martin -
25 May 2005 7:22 PM - 4 messages
Using an SQL query against an MS Access database: I have a table containing these records: Wave Route Order Carton 12 123 1212 002 ...
JLuis Estrada -
25 May 2005 7:09 PM - 3 messages
I need a dialog box like the ones showed in win XP for view all folders. Does anyone knows how to use the SysTreeView32 in my App? ...
Amanda Hallock -
25 May 2005 6:38 PM - 5 messages
I have an ASP page that needs to update multiple records. I have 4 variables that are a string of values, for instance: id = "1,2,3,4" name = "Charlie, Lucy, Linus, Snoopy" so I need to create 4 SQL statements like: ...
Brad Pears -
25 May 2005 6:08 PM - 11 messages
We are a small shop - two IT people. We both are developers etc.... We currently have a mix of VB 6.0 and Access 2000 apps. We are trying to develop a strategy for further new development (in in some cases rebuild the ...
MP -
25 May 2005 5:12 PM - 8 messages
Hi, (ps this is in a vba routine but I hope it's vb general enough to be ontopic here) I'm surprised to see that a property procedure declared with Friend modifier can't be called by another function in the same form ...
Matti -
25 May 2005 4:23 PM - 4 messages
How do I return a status code fom a VB (6) program, so that I can test it in ..BAT command file. Matti ...
Turtle -
25 May 2005 3:38 PM - 3 messages
I've been using SendKeys to automate a small utility which doesn't expose an automation interface, but ran into a problem, for which I found the suggestion that I use the WinAPI SendInput call instead. In trying to ...
HLong -
25 May 2005 3:16 PM - 4 messages
Hi, I am trying to determine if the user is pressing the control key or control + shift keys when the user form is loaded, so the proper controls are make visible. I am doing this in VBA. I tried using the apia functions ...
ajsri77 -
25 May 2005 2:41 PM - 4 messages
If any one got the source code to create the virtual serial com port,
please sent it to my mail id.. ajsr***@yahoo.com thanks in advance.
--
ajsri77
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
Lance -
25 May 2005 2:22 PM - 10 messages
.....and i've been working on it for days and days. my half-bake, half-functional solution is sloppy, unwieldy, and out of control. i'm not the most mathematically logical person (i suck at mathematical logic, actually), and my methods tend to be very inefficient. ...
Lance -
25 May 2005 1:28 PM - 3 messages
hi all, why is it that using "with...end with" with the picturebox still requires you to follow this syntax With PictureBox .FillStyle = 1 .DrawWidth = 2 PictureBox.Circle (x, y), 500 ...
Peter -
25 May 2005 12:07 PM - 3 messages
Dear All I need to program a kind of "algorithm" in VB6 that does the following: I have upto 10 different strings(in string array), each with different length and content which should be concatenated to several result strings that are limited to a certain length. ...
Emmanuel DURAND -
25 May 2005 11:29 AM - 4 messages
Hi, How can I get the (vertical) scroll event for the MSFlexGrid control? Thx ...
Josh -
25 May 2005 10:01 AM - 6 messages
Can anyone dire me to code that will let me drag selected text from one text box to another text box and delete it from the first. i am a newbie ...
Aruna Tennakoon -
25 May 2005 7:40 AM - 2 messages
Hi guys, can me give a example how to do this in VB 6 using XMLDocument ? <WebSync> <Download> <Table LastSuccessfulProcessedDate="25/05/2005" ...
Dennis -
25 May 2005 6:42 AM - 7 messages
Hello, Is it possible to blend more than two pictures into each other? Im using Alphablend to blend two pictures, but i dont get it working with more than two pictures! Can someone help me with this?? Thx Dennis ...
Bob Smith -
25 May 2005 5:28 AM - 5 messages
Sorry if this is posted in the wrong place but I could not find where to post this. I am trying to combine 2 Select statements, they both work fine by themselves, but combined I can't get them to work. See below ...
Ant -
25 May 2005 4:54 AM - 8 messages
Hi, I've set up a collection to keep track of forms. I've used the forms caption as the key to each object in the collection to keep track of which forms are stored in it. My question is how can I now use the key to determine ...
Manal -
25 May 2005 12:56 AM - 9 messages
Hello I didn't find an active classification for this question, it seems very old topic, but I hope someone might be interested to help with it. I am trying to use the PaintPicture with the printer object to print several ...
abcd -
24 May 2005 10:24 PM - 4 messages
I am loking to generate a GUID from VB 6.0 program. Does anybody know how to generate that thanks ...
Ken Uzzell -
24 May 2005 10:12 PM - 4 messages
Hi, A user reported the following message when trying to install my software. I use MS P&DW. -->8--- I get a "16bit Windows Subsystem" windows popup with following message. c:\windows\system32\autoexec.nt. the system file is not suitable for running ...
Tim -
24 May 2005 10:11 PM - 8 messages
Hi, I have an application that I need to have two versions which loads adds functionality. I was curious what others do to implement this. I do not want to have two version because of the maintanence problems it causes. I ...
John Holmes -
24 May 2005 9:55 PM - 2 messages
I have some icons that I used in a VB6 program several years ago and I'd like to use the same icons in a newer C# windows forms app. I haven't been able to find the icons which are common icons for a document imaging ...
UGH -
24 May 2005 6:30 PM - 3 messages
Is MSI the only installing features that allow the user to select which profile to install the program in? Win 2000 and up are the only OS that can run MSI, correct? My boss wants me to fix the installer to allow the tech person to install it ...
SteveC -
24 May 2005 6:30 PM - 12 messages
I've put 8 round shapes on a form and I'm trying to use the Timer to make them flash on and off in sequence by changing the fillcolor from green to red,to give the illusion of movement.I can easily do one, but ...
Joel Whitehouse -
24 May 2005 4:20 PM - 4 messages
Hello All, I have a UserControl that subclasses to trap messages. If my program ends unexpectedly, (i.e., because of an error, the "end" keyword, or the stop button,) the VB IDE crashes and shut down entirely. When I reload ...
Lance -
24 May 2005 1:59 PM - 5 messages
oh man, i feel pretty stupid for having to ask this, but it's been a while (7 or 8 years) since i've had to output to binary before. i've been through the help files for "open" ...
Tom Glasser -
24 May 2005 1:32 PM - 5 messages
I have a VB program that builds an SQL SELECT statement and stores it in a variable as follows: strSQL = "SELECT * FROM MyTable WHERE [CUST_ID] = '" & strCustID & "' AND [SHIP_TO_ID] = '" & strShipToID & "'" The problem I am having is that certain values for strShipToID contain ...
Peter Plumber -
24 May 2005 1:31 PM - 2 messages
Just out of curiosity: I am using the code below and noticed that in the collection the function exposing the IUnknown is called [_NewEnum] It ssems not to be possible to use names like [_NewEnum] for userdefined functions. Or does anyone know how to do this? ...
Terry Diederich -
24 May 2005 1:17 PM - 7 messages
I have a VB6 app that is using DBGrid32.ocx as an unbound grid. The app has been running fine for a while but I started to see a problem on machines running XP with SP2. The user enters values into cells in a row. When they ...
UGH -
24 May 2005 12:59 PM - 3 messages
I am using ADO 2.8 and MS SQL. One of the fields type is set to text so I need to use the getchunk method to retrive the value. I know that the values are not blank and even if it was it would return zero ...
Huahe -
24 May 2005 12:15 PM - 2 messages
I try to delete a file in a for each loop. My code checks if the file exists and if it does, it will delete the file and create a new file with the same name. The first time it works perfect, but the second time it gives me a ...
tgowrineni -
24 May 2005 11:14 AM - 2 messages
My problem is to set validation for real numbers in the worksheet. It won't allow text, any special characters like /, % etc. If the user
enters data other than real numbers it has to force the user to enter
only real number (contents of the cell should highlighted and the cell
pointer won't move till the user enters either real number or user can
cancel the action). ...
John Ortt -
24 May 2005 10:36 AM - 11 messages
Hi there, I am hoping for a little help with a tool I am creating for generating Data Trees. I have a table which documents the update process for an access database in the following form: Master Slave ...
Bart Steur -
24 May 2005 10:32 AM - 2 messages
Hello, Is there a way to retrieve the info of a user (or computer) from the AD as specified in AD users and Computers Properties using MMC. Especially the fields specified under tabs: General; Address; Account; Profile; Telephones and Organization. ...
maxzsim -
24 May 2005 8:05 AM - 2 messages
Hi, i have managed to get the data from SQL server but how do i actually populate the data into the data grid and i am not able to show a true false in the data grid as i could not specify a true/false field from a query ...
Jefe -
24 May 2005 7:36 AM - 5 messages
Hi group I have a funny problem I used DateSerial function to get the value into Date format. The input parameter is long and the return variable is in date. Here is the code: lValueInSeconds = 53820 Call ChangeToSeconds(lValueInSeconds) Private Sub ChangeToSeconds(lValueInSeconds) ...
Jon in Canby Or. -
23 May 2005 11:21 PM - 3 messages
Thanks to a machine crashing I've had to reinstall VB6 on a new machine and a backup of my projects. One project gets this error when trying to "make" the executable with the message noted in the subject of this posting. ...
Lance -
23 May 2005 7:50 PM - 6 messages
hi all, i've got a UDT structured as such Private Type DataListing Date As String * 19 ...
taccea -
23 May 2005 7:28 PM - 3 messages
Hello, I am new to VB and MySQL connections. I can use ether VB6 or VB.NET. I need to make an ODBC connection to MySQL and then I need to have the VB program poll the table every 10 minutes. ...
Joel Whitehouse -
23 May 2005 7:13 PM - 2 messages
Hello All, I have this UserControl initialization code that should only *ever* run during run-time. The problem is the UserControl_Initialize() event doesn't give me access to Ambient.UserMode. Also, my control is designed to be invisible just like a timer or common dialog is, so I ...
Dave -
23 May 2005 6:38 PM - 3 messages
I have a udt set up and a collection that I add the udts to throughout a program. Then, at the appropriate time, I would like to loop through the collection and send each udt in it to a subroutine to be processed. I had ...
Bob Johnson -
23 May 2005 5:49 PM - 5 messages
I'm very new to writting VBScripts and I've written a VBScript to install fonts into the C:\Windows\system32\fonts folder. The script is running fine and it is being handled by group policy for a bunch of computers. ...
chuckdfoster -
23 May 2005 4:59 PM - 3 messages
I am having a problem with my web app (VB) pulling up Crystal Report. It works until I put a Crystal function (UTCtoLocal) in. Then Visual Studio gives me this error: "u25tiufl.dll is missing" I guess this is the dll used ...
balu -
23 May 2005 4:52 PM - 7 messages
Hi, We are developing a visual basic application that compresses a bitmap file into jpeg file . We are not getting any solution for compressing a bitmap file into jpeg file in visual basic. Eventhough we ...
Pu -
23 May 2005 12:56 PM - 2 messages
hi, how can I print a word doc by adobe distiller (pdf), not a normal printer... have a nice day everybody ...
David -
23 May 2005 10:54 AM - 3 messages
Hi I need to add a "virtual" keyboard for a touch screen, rather than creating a form and coding it up, I was wondering if there are any controls etc.. out there that already do this. ...
Stlun -
23 May 2005 9:36 AM - 4 messages
Is there a way in VB to delete a file thats located on a USB memorystick and "move" it to C:\recycle bin ? I want the operator to have a chance to restore the file again. /Stlun ...
news.microsoft.com -
23 May 2005 2:47 AM - 7 messages
Hi, Is there any way to load an extern exe file, such wordpad.exe into mdi with pre define size and position? Thanks, LK ...
Donald -
22 May 2005 7:31 PM - 2 messages
Hi ! I am looking for an API which will allow me to use the Microsoft Fingerprint reader which I hav,e for a bit more than just logging into windows and switching user. I would like to be able to use it to record up to ...
Kate -
22 May 2005 2:35 PM - 8 messages
I have problem with assigning x-axis value of a chart. This is how I assign y-axis value. LastCell is a variable. xlCht1.SeriesCollection(1).XValues = xlWshtS.Range("E4:E" & LastCell) I know this can assign values for both axes, but it can't use LastCell. ...
Essam Salah -
22 May 2005 1:38 PM - 15 messages
Dear All I have an interface class like Interface_1 with event and methods like event1,event2 , M1() , M2 If I implemet this interface in other calss like myClass ; I can implement the mothods M1() , M2() only but cannot raise the events event1,event2 ...
wxforecaster -
22 May 2005 9:57 AM - 3 messages
I'm reading data from a file into a Byte Array. Please tell me there's a faster way then as follows (reading the file one lowly byte at a time)... Thanks for your time, Evan Public Function read_data(byVal FileName as String, byRef bytedata() as ...
|
|||||||||||||||||||||||