Type: Posts; User: MichaelNattfalk
Search took 0.00 seconds.
February 2nd, 2009, 07:57 AM
When working on an application connected to a database I stumbled upon a question which I can't seem to find an answer for searching the Web.
Which of the following two ways are to prefer...
November 28th, 2008, 04:16 AM
I found the problem. :)
I changed the following code from
ComboBox cbNew = new ComboBox();
cbNew.Name = "cbLine" + (i+1);
cbNew.Size = cbLine1.Size;
cbNew.Location = new...
November 28th, 2008, 03:49 AM
I'm having kind of a weird problem which I hope someone can help me with.
I have a form on which I have a ComboBox created at design-time.
When I run the application I dynamically create x...
I have an application which is installed on a couple of PC's. This application is connected to an MS-Access database located in a folder on a networkdrive.
However, we are looking at...
April 26th, 2007, 06:28 AM
I've recently started .NET programming and came across a couple of things, while working with dynamically generated controls on a web page, which I need a bit more explanation on.
August 15th, 2005, 03:03 AM
Ok, thank to both of you.
I will check these sites.
August 12th, 2005, 03:32 AM
I'm hoping someone here can give me some directions.
The thing is that I've been programming for quite some time now.
However, the last few years I've been lacking ideas for something useful...
October 18th, 2004, 02:54 PM
X(a) = Ax·a³ + Bx·3·a²·b + Cx·3·a·b² + Dx·b³
Y(a) = Ay·a³ + By·3·a²·b + Cy·3·a·b² + Dy·b³
A, B, C and D are the control points.
'a' is a value from 0 to 1.
For example, if you...
October 17th, 2004, 03:05 AM
Try to do the following from another form or module:
It should work.
October 17th, 2004, 02:59 AM
Regarding your first question, try changing your code to this instead.
Private Sub cmdStart_Click()
a = 5
y = " test"
Do Until a = 1
October 17th, 2004, 02:45 AM
Maybe I'm on the wrong path here, but, isn't it possible to create a new thread for the subroutine. That way you could do whatever you want while the subroutine runs in the background.
October 16th, 2004, 06:08 AM
Are you creating the document by hand or with an app/macro?
In case you're doing it by hand, just select the table. Right-click and select "Borders and shading". Under the tab "Borders"...
October 16th, 2004, 05:57 AM
The easiest way probably would be to create a macro with VBA in the Excel file that creates a connection to the SQL server and then adds the information.
Don't think it would be to hard to...
October 12th, 2004, 12:33 PM
Do you want a random RGB value or what?
In that case do this.
Dim lRGB As Long
lRGB = RGB(CInt(255 * Rnd()), CInt(255 * Rnd()), CInt(255 * Rnd()))
October 12th, 2004, 12:11 PM
Maybe I'm on the wrong path, but, can't you just but the letters in, for example, column A and each letter's value in column B. Then just hide the B column.
That way you can get the sum by...
October 10th, 2004, 06:33 AM
I don't know if it is the best way to do it, but atleast it works.
What you need in the Excel book is 2 sheets, "Sheet1" and "Sheet2".
The next thing you need is to have the data in the...
October 2nd, 2004, 04:26 AM
Another quite easy way to prevent errors from occuring is to do the following.
textbox1.text = "" & rs("Field")
Works everytime for me ..
Hope it helps.
September 30th, 2004, 12:44 PM
Instead of doing it like this:
Do the same but skip the slash.
This works for sure.
September 29th, 2004, 02:26 PM
Thanks everyone for the quick replies.
For the type of application I'm working on, the best solutions seems to be the timer based system that I'm currently using.
However, you people gave me...
September 29th, 2004, 09:47 AM
My question is as follows.
I have an application which apx. 4 users will use. This app is connected to an MS-Access database.
For example, on the left side of the application, there is a...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.