|
How??
say i create an object of an ole db connection
so in the connection string what do i set as the Data Source??
ps:im working in vb .net
|
|
|
|
|
You really can't do it through a web server. Access is a file-based database so you'll need access to the filesystem of the web server with Read and Write permissions. This is something that you would be insanely stupid to expose to the Internet. You might as well post a neon sign that says, "Juicy Target!", and sit and watch as your server is destroyed before your very eyes.
A better method would be to wrap the Access database with a Web Service, having it make all the calls to the database for any connected clients.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
So what u are basically saying is that i should change my windows application to asp??
|
|
|
|
|
|
Dear Friends
How can i desable the right click menu in the text box area in visual basic 6.
Thanks
Murtuza
|
|
|
|
|
How can i insert page header section after a group section in crystal report?
Plz help!!
|
|
|
|
|
hi!!!
following is what i want to do....
i m using vb.net as frontend n MS access as backend.
i want dat:
a form contains d checkboxes specifyinn the fields from table(database) he wants to view.
now we should view all the records with only those fields for which the user has checked the checkbox.
the records are viewd in a datagrid.
neone knowinn the code for it.plz reply me asap.
thanx a lot!!!
follow your dreams
rupali
|
|
|
|
|
If yous try dat again wivout da txtspk den u mite have sum chnc of an answer
|
|
|
|
|
J4amieC wrote:
If yous try dat again wivout da txtspk den u mite have sum chnc of an answer
you know what ? you are not alone on the forum...
CodeProject counts more than 2 millions members, and if anybody talked like you, it would be a real disaster.
i don't understand anything on what you say, but i want you to understand me : I VOTED 1 FOR YOUR POST !
i know, i could make an effort, but you could too...)
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Was that directed at me (as assumed by the fact you quoted me) or was it directed at the Original Poster?
|
|
|
|
|
yes, as you saw, i quoted you, that means i was talking of you !!
i reacted that way because you english was very poor at the moment... that's all
ps:the owner of the thread got his own too
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
hey i havnt got how r u telling. plz tell if u know it.
thank u!
|
|
|
|
|
Hi all,
I have 6 columns in my datagrid. I need to add a subheading for the first three columns.But the subheading has to be above the Header line of the Datagrid(not below as in most cases)
eg:
| My Subheading |
ColumnA ColumnB ColumnC ColumnD CoulumnE ColumnF----------------->this is the Header of the Datagrid
Any help anyone?
Thanks in advance
Aartee
|
|
|
|
|
I have created a .net classlibrary which i am going to use it in vb6.
For this i have exposed the class through interfaces.
I created the .tlb file using regasm and then placed the dll in the gac
Then I refered the .net tlb in the vb6 project
VB6 is showuing the interface and the class i created in the .net.
When i created the object of the class and tried to call the function, the function is not showing in the intellisense
and when i tried to execute the function it failed to execute it.
The function is showing in the object browser.
The function declared in .net is public.
I think this is the correct way of exposing .net dll to vb6
or
am i doing it wrong.
Tell me this is urgent.
|
|
|
|
|
because your .NET library is compiled as MSIL, while VS6 doesn't...
you cannot do that
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
Ok, lets say I create a new form. In that form I put in textbox called 'txtBox1'. Now what I wanna do is, I want to limit the characters that I can key into 'txtbox1' to numbers and the backspace key. So this is the code I use.
Private Sub mskDateEntry_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles mskDateEntry.KeyPress
Dim CharAllow as String = "1234567890"
if instr(CharAllow,e.keychar.tostring) = 0 then
e.handled = true
End if
End Sub
Okay, this works fine in only allowing me to key in numbers and nothing else. But it also prevents me from using the backspace key to 'backspace errors'. Anyone have any idea to my situation? Thanz..
|
|
|
|
|
Instead do this
e.handled = not (char.IsNumber(e.keychar) or char.IsControl(e.keychar) or e.keychar == ' ')
My VB is non-existant, the syntax may be wrong, but char has static methods to check if a character belongs to a group, and one of those groups is control characters.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Before I go on, I would like to thank Christian for being such a good samaritan (I think that is how you spell it). The world could definitely use more ppl like you... Thanz a real big bunch man.. I am gonna try ur codes and see whether it suits my purpose or not... thanz man...
|
|
|
|
|
Alrite man, ur method is a life Saver. Dude, I offer u my respect... U r the Man....
|
|
|
|
|
*grin* Glad to help. after your initial kind comments, I was worried you'd try it and it wouldn't work....
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
btw, why is there a 'not' in
e.handled = 'not' char.isnumber(e.keychar)
doesn't char.isnumber(e.keychar) referring to numbers in general.. if So, why does e.handled = 'not' of it..
|
|
|
|
|
if it is a number, a space or a control character, you want the base class to handle the keypress (i.e. you want it to occur ). So, you set handled to false if it's a key you want, or true if you want to swallow the keypress, the base class sees you've handled the key press and so ignores it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Keys.Back = the backspace key.
Select case e.keychar
Case Keys.Back
Case Keys.D1
Case Keys.D2
End select
Hope it helps..
|
|
|
|
|
Hmm, another something to test out... Thanz man....BTW, whats keys.d1?
|
|
|
|