|
Do I put the DateValue() in Access? I already have the date in my code. I am trying to send it to Access. How can I do that?
Never mind, found the problem. I needed single quotes on each end of my date variable in my sql statement. Thank you for your help.
modified on Wednesday, March 12, 2008 4:50 PM
|
|
|
|
|
Put the DateValue() function in your SQL Statement.
This might be create a proble while fetching the records in search criteria on Date field.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
My issue was I didn't have single quotes in the SQL statement. Thank you.
|
|
|
|
|
Hi Everyone,
I have used GridEX control in the application.while expanding the grid, it will take time to load the huge records It`s getting hanged for 30 seconds. scrolling up and down also is hanging for some time. Can anyone help me in this regard.
Regards,
Manowj
|
|
|
|
|
are you doing these around the filling of the grid?
grdNotes.SuspendLayout()
'fill grid here
grdNotes.ResumeLayout(True)
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
Hi all;
I m reading a txt file from line to line using StreamReader from Begin to End.
Now I want that it should read the file where It left it before. from any line which i want.
Regards,
Ali
|
|
|
|
|
set position of StreamReader by this :
sr.BaseStream.Position
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
You mean I should do this.
sr.BaseStream.position=10;
//where 10 is line No
or something else.
This is my procedure.
using (StreamReader sr = new StreamReader("C:\\Windows\\System32\\Logfiles\\ex080312.log"))
{
String line;
string [] fieldcontent = null;
while ((line = sr.ReadLine()) != null)
{
Response.Write("<br>"+ line);
}
}
|
|
|
|
|
no, position is for no. of bytes or characters
hehe, its VB forum and you are asking bout VC#
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
So for each line you read, store the position.
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
Yes I m storing the Line no with each Line. but I want that when I again read this file it should start from where It left.e.g line 10. explain more.
|
|
|
|
|
Just store the StreamReader.Position at the same place you're storing the line number, and when you want to read again just set StreamReader.Position = storedposition and you should be able to read the same line again.
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
How can i block specific URLs using vb.Net.
I do not consider editing the hosts file. Any other way?
Please answer me..
|
|
|
|
|
What do you mean by BLOCKING URL? Do you mean for a computer or something else???
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
If you created a browser function into your program, you can keep up a black list whereto you will validate first the url which the user has given before you go on with it.
Is this what you are looking for?
|
|
|
|
|
Good Morning All
I have a Textbox, where i want my use to enter his Address, So i have set the Multiple propety to True, so that when a user Presses Enter, it should take the Cursor to the Nex line. what is Wrong
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
What's the exact problem?
"Legacy code" often differs from its suggested alternative by actually working and scaling.
—Bjarne Stroustrup
|
|
|
|
|
When i Press Enter in a Textbox that has a Multipleline Property set to "true", The Cursor its not going to the Next line.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
It should go! Did you change any property of that textbox?
"Legacy code" often differs from its suggested alternative by actually working and scaling.
—Bjarne Stroustrup
|
|
|
|
|
NO i did not Change any Property except "Multiline" and set it to true.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
hi Man
Thanks for your Reply, i got the Problem
The Property "AcceptsReturn", by default is False, to use Enter key in a Multiline textbox, you have to set it to "true"
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Great....
"Legacy code" often differs from its suggested alternative by actually working and scaling.
—Bjarne Stroustrup
|
|
|
|
|
How will the information be input. Will you be manipulating it as one large string or are you storing it as one large string.
|
|
|
|
|
Hi man
Thanks for the Reply, i got the Solution Check the above post.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi guys, need ur help i have a circuit(ADC to BINARY) which i wish to communicate via USB port to a VB
program to read data from( Example like a USB mouse which gives input and the cursor moves)
I did some research and found out about virtual com ports which fools the program into thinking that
the usb port is a com port but i'm not sure how to create one, do i need to do it this way or is there
another way in which i could directly send data(binary) to the VB program
|
|
|
|