|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
admin -
13 Dec 2008 7:07 PM - 12 messages
Hi! How to use variable value in name of textbox? --------------------- For X = 1 To 5 Step 1 For Y = 1 To 5 Step 1 boxX_Y .Visible = True Next Y Next X ------------------ boxX_Y .Visible = True I want change this to box1_1 box1_2...box2_1... and so on. ...
Larry Serflaten -
13 Dec 2008 2:48 AM - 8 messages
I am attempting a remake of the old Windows program Jezzball ([link]) and am comtemplating what an efficient algorithm might be to determine which areas are captured after building a wall. (Black area in first image under TACTICS on ...
Abhishek -
13 Dec 2008 1:17 AM - 5 messages
hi, is there a way to detect installation of .NET 2.0 from a VB6 App ? thanks, abhishek ...
Bill -
13 Dec 2008 1:11 AM - 2 messages
Will the VB macros I have in excel 2003 work in Excel 2007? ...
Randem -
13 Dec 2008 12:24 AM - 15 messages
When I check this newsgroup Outlook Express will most of the time tell me there are 6 unread messages but when I check there are non highlighted. I have dumped the whole newsgroup and re-downloaded all messages and this ...
John81 -
12 Dec 2008 11:29 PM - 4 messages
Here is the most simplistic way that i could find, to display a preview for a screensaver (with /p switch) '-----------code Option Explicit Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long Private Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As ...
Rich Raffenetti -
12 Dec 2008 5:00 PM - 5 messages
Is there a way to get the name of the VB6 function or subroutine which is executing? I.e. in a string variable. ...
Steve -
12 Dec 2008 3:46 PM - 2 messages
I have an application which uses several (3) command line utility apps to perform some background work. All of these (the main app and the command line utilities) are comercial apps for which I do not have the source code. ...
Eric -
12 Dec 2008 3:13 PM - 3 messages
For my program I use the following code: Dim dr As DialogResult Dim ofd As New OpenFileDialog ofd.DefaultExt = "*.*" ofd.Filter = "All files|*.*" ofd.FilterIndex = 0 ofd.Multiselect = False ...
catharinus -
12 Dec 2008 8:37 AM - 5 messages
Hello I want to multiselect rows in MSHFlexgrid in the following ways: by pressing Shift and keyArrowDow by pressing Shift and keyArrowUp by pressing mouse Any idea? Thanks Catharinus van der Werf csvanderw***@planet.nl ...
Sarah M. Weinberger -
12 Dec 2008 6:26 AM - 29 messages
Hi All, I have a VB6 executable that uses among other things a DLL that I used Visual Studio to create. It is a C/C++ DLL (no MFC or the like). Up until my testing today, all was happy and fine. Actually, on my development machine, ...
moje -
12 Dec 2008 6:12 AM - 3 messages
For the files, I can use SetAttr() function, but how about directories? I have one hidden folder with one file in it. I need to delete that file programmatically. You help appreciated, moje ...
avi -
11 Dec 2008 8:37 PM - 4 messages
Hello, I have a correlation table showing the correlation coefficient between every pair of n variables The table has a nXn structure. For example: Var1 Var2 Var3 Var1 1 0.78 0.65 ...
Bee -
11 Dec 2008 6:04 PM - 7 messages
I want to highlight the selected tab of a ssTab VB6 with Service Pack 6 Running in Vista. If I check to "show foucs rectangle" on the selected tab, it does not do it visibly. Possibly due to Aero. Anyway, I am looking for a better way to get the selected tab to stand out. ...
Paulo -
11 Dec 2008 2:07 PM - 8 messages
Hi, how do I consume a webservice on VB6? The URL site ends with .asmx Can I use it on VB6? Thanks! ...
Cass -
11 Dec 2008 1:58 PM - 7 messages
I created a CD AutoRun menu. It is basically a menu the runs when the CD is inserted into the computer & the menu has different menu options (buttons) which install different components of software available on the CD. The only problem i'm having is getting this menu to run without ...
Donald Campbell -
11 Dec 2008 8:48 AM - 3 messages
From within a VB2008 windows form I am merging data onto a Word template and then saving the file. All works fine. At this point I can either close Word or let the user edit the document and work with it as they please. ...
Totti -
11 Dec 2008 8:42 AM - 3 messages
Hi everyone, I am working on a college application, MSACCESS DB, with VB.6, I have a form called "Registrar", besides everything else there is an "EDIT RECORD", "ADD RECORD", and a "DELETE RECORD", now these records are on the form as the following: ...
Donald Campbell -
11 Dec 2008 8:21 AM - 3 messages
Specify a source tray to take the paper from. I am rewriting an old Unix application in visual studio 2008 (VB) and I need to be able to check the name of the default printer and if it is a ...
Fred -
10 Dec 2008 9:37 PM - 25 messages
For example: Retrieving string from Windows registry and the result is: lpString = "146636546522" Now, when I do: CollectData = CollectData & vbCrLf & CStr(CDbl(lpString)/ 37 - 39500) all is fine in IDE but compiled program shows 'Type mismatch' error. What is wrong with that? ...
Sarah M. Weinberger -
10 Dec 2008 9:30 PM - 53 messages
Hi, If I were working in C, the solution would be trivial. For example: typedef struct _MYTYPE { char[16] szName; int iType; } MYTPE; The initialization to what I want would be (assume inside a function, but ...
Rick Raisley -
10 Dec 2008 3:22 PM - 10 messages
In order to help prevent my users from finding an EXE and running it, when I instead want them to run another EXE first, I've found that I can make a Starter.exe, which shortcuts point to, and then have it Shell and run ...
Robert -
10 Dec 2008 2:12 PM - 4 messages
Good Day. I am using VB 6.0. I also use the controls from vb5.0 so I get the XP Look. Question: Is there a way to make the Listview have a transparent background? ...
Mansi Shah -
10 Dec 2008 9:02 AM - 34 messages
Hi, I am loading image in picturebox using bitmap -size of image = 8.5”x11". x = Single.Parse("11") * 96 y = Single.Parse("8.5") * 96 Dim ZoomImage As New Bitmap(Image1, x, y) Dim converted As Graphics = Graphics.FromImage(ZoomImage) ...
Bruce W. Roeser -
10 Dec 2008 2:08 AM - 4 messages
Bill, Why don't the two of you just meet somewhere and slug it out? Sheesh .. -bwr- ...
Webbiz -
10 Dec 2008 1:45 AM - 4 messages
I'm have programmed a Status Bar with the following code: '=========== CREATE STATUSBAR =========== 'Size the StatusBar to fit the form MoveWindow hWndStatus, 0, (lngScaleHeight - SBHeight), _ lngScaleWidth, SBHeight, 1 ...
Totti -
9 Dec 2008 10:38 PM - 5 messages
Hi everybody, As i am no expert at all in these issues, i am afraid that i have a problem and i dont know where it is. VB6 app. speaking to an access DB: '---------------------------------------------------------- sconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & ...
expvb -
9 Dec 2008 7:04 PM - 9 messages
For those who want to comment a block of code as quickly as possible in VB6, follow these steps: - Go to View-->Toolbars, and make sure that "Edit" is selected. - Select multiple lines in the code window. - In the toolbar, look for a toolbar button that looks like multiple ...
Eduardo -
9 Dec 2008 6:45 PM - 9 messages
I have two points in form's cordinates. p1 ---> Top value = x1, Left Value = y1 p2 ---> Top value = x2, Left Value = y2 I need to find x and y for a third point. This third point must be in the ...
dweiters -
9 Dec 2008 4:30 PM - 7 messages
I have created a simple Word template with bookmarks for entering text. I receive "Runtime Error 91 Object variable or With block variable not set" when I click the OK button. The template info populates into the Word form nonetheless. I believe I need a Set ...
catharinus -
9 Dec 2008 8:54 AM - 5 messages
Hello I have created a MSHFlexGrid form that loads data of clients The first column contains the clientnumber, the second contains the name etc.. This number contains a dot, for example: 10,.001 Client1 Streetname 1 11.999 Client2 Streetname 2 ...
Wal -
9 Dec 2008 8:30 AM - 3 messages
Visual Basic 6 / Windows XP I have written an app which is supposed to allow the user to finely adjust the position of labels on a form before printing. (The print positions are sent to the printer object when done). ...
Tim Rude -
8 Dec 2008 10:09 PM - 17 messages
[VB6] With the intrinsic Printer object, the PaperSize and PaperTray can be easily set. How can the 'Media Type' (i.e. Glossy, Thick, Thin, Rough, etc.) be set for the Printer object? ...
Mike Williams -
8 Dec 2008 8:10 PM - 4 messages
Go and play somewhere else, McCarthy. I don't care about your stupid demands. You had a good laugh poking fun at me when my own MVP status was allowed to lapse a year or so ago for publicly saying things about Micro$oft ...
Lou -
8 Dec 2008 7:37 PM - 7 messages
How can i tell what encoding a text file I am trying to read is? I need to know if its ascii, utf-8 unicode or something else? ...
Lou -
8 Dec 2008 6:49 PM - 55 messages
What does this parameter do? Set ts = fs.OpenTextFile("MyFile.txt",ForReading, False, TristateMixed) Can it determine what format the file is and open it accordingly? Unicode,UTF-8, etc???? -Lou ...
amdrit -
8 Dec 2008 6:16 PM - 8 messages
Hello, I am running into an issue with a usercontrol and was hoping you can guide me to a solution. I have a usercontrol ( MyControl ) with an event GetInfo(mc as MyControl, args as InfoArgs) The infoargs class simply has properties to pass info back and forth, say ...
Saitir -
8 Dec 2008 4:56 PM - 5 messages
Hi all. I thought I'd posted this somewhere but I can find no references and I've certainly not been notified of any replies. So apologies upfront if I've jost lost track of things. For a number of reasons I've inherited an unstable VB6 application here at ...
catharinus -
8 Dec 2008 4:08 PM - 6 messages
Hello I want to use a MSHFlexgrid to show data from a table. I use .rows to get the correct number of lines in the grid But there is always one emptyr row at the end Why ANd how can I remove it ...
catharinus -
8 Dec 2008 12:33 PM - 4 messages
Hello Until now I use Listview to show the content of my tables. But a few days ago someone adviced me MSHFlexgrid. It has nice advantages compared to Listview, but the loading of the Flexgrid takes 3 times more than a listview (3 seconds compared to ...
catharinus -
8 Dec 2008 9:43 AM - 4 messages
Hello I want to use the colulmnclick and the click event in MSHFLexGRid. They can both be initiated through the sub MSHFlexGrid1_Click. But I want to have the click-event act difrerent from the Columnclick event. How can I distinguish these two actions? ...
Alexm -
8 Dec 2008 12:04 AM - 7 messages
Is there a simple way to produce a new desktop folder from within a VB6 program? alexm ...
jim -
7 Dec 2008 9:44 PM - 4 messages
Dennis I need to update an aspx application that we use to perform our employee performance reviews. What editor should I use? It appears to be visual basic and html together. ...
Bee -
7 Dec 2008 7:02 PM - 14 messages
My vb6 app has a form with a sstab containing a picturebox containing a textbox array. I made sure each is contained as I say. In the mouse down event for the textbox I would like to get to the container ...
Steve -
7 Dec 2008 4:29 AM - 26 messages
I have an application (commercial app so source is not available) which does CD ripping from multiple drives simultaneously. As the ripping progresses through each disc the app writes information about the results of the track/disc rip to a simple text file. ...
Eduardo -
7 Dec 2008 2:52 AM - 20 messages
Is it somehow possible to instance a class from its class name stored in a string? I tried: Dim iObj As Object Dim iClassName as String iClassName = "MyClassName" Set iObj = CreateObject("MyProjectName." & iClassName) ...
|
|||||||||||||||||||||||