One More Problem !! Urgent -
You guy help me out on this code early but I forgot to say text2 is a multiline textbox but my code will only save the first line and load the first.
Option Explicit
Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long
Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Private Sub Command1_Click()
Dim strFileName
CommonDialog1.ShowSave
Dim lngResult As Long
strFileName = CommonDialog1.FileName
lngResult = WritePrivateProfileString("My Text", "Text 1", Text1.Text, strFileName)
lngResult = WritePrivateProfileString("My Text", "Text 2", Text2.Text, strFileName)
lngResult = WritePrivateProfileString("My Text", "Text 3", Text3.Text, strFileName)
End Sub
Private Sub Command2_Click()
Dim strFileName
CommonDialog1.ShowOpen
Dim lngResult As Long
Dim strResult As String * 50
strFileName = CommonDialog1.FileName
lngResult = GetPrivateProfileString("My Text", "Text 1", strFileName, strResult, Len(strResult), strFileName)
Text1.Text = strResult
lngResult = GetPrivateProfileString("My Text", "Text 2", strFileName, strResult, Len(strResult), strFileName)
Text2.Text = strResult
lngResult = GetPrivateProfileString("My Text", "Text 3", strFileName, strResult, Len(strResult), strFileName)
Text3.Text = strResult
End Sub
Need a constant value -
I need the value for the obsolete constant WM_CTLCOLOR. None of the C header files shipped with Win2K SDK have it. Instead they ask us to use WM_CTLCOLORSCROLLBAR (for notification of coloring the scroll bar for instance) etc. My MSDN (Oct 2001) does not have documentation of WM_CTLCOL
Urgent - Urgent-Urgent - Urgent -
hi to all
Unfortunatly i have deleted all rows in my Table. Using
Delete from TableName
I did't Use any BiginTrans. How can i get back my Deleted Rows?
Is we have any way ? Any Temp Database?
Save me... Urgent
Thanks
ADO Problem URGENT -
I was using some ado database control in my project. After i have finish it an dmake the setup file, i found out that the ado method only work with the pc that have install vb before, if the pc was never have vb inside before then it will return a runtime error. So now how can i handle
Urgent -
Help me please. I have a problem with my code and it doesn't work. Please help this is urgent. I'm using VB 2008!
Re;URGENT -
hI,i faced some problem in c++ that is anyone who know to create dll files by using Vc++,pls urgent now
Memory problem!!! URGENT~! -
Hey guys, need some help here theres no errors and warning but when i run the program and in the customerinfomain i get a memory allocation error everytime i try to do a enquiry....... i got a function in that call handphoneinfomain that have the SAME logic as it and it does not have a
Urgent problem -
I have written a program that compiles and runs on my computer but when transferrred with all used files does not run.
it has a message about missing libraries.
is there some way to fix this??
Urgent need of solution as program is due
thanks for any help
Reservation Form [Urgent] -
Hi all,
This is urgent and hope you can help to take a look at my program and direct me how to source the problem existed in the program.
At the moment now, whenever I updaed a new record, the custID, CarRegNo, datereturn and daterent is not updated.
urgent! OLE DB drivers! help........... -
i'm having this problem about my program. it has been deployed. but when i set it up to a pc without microsoft access....
it says:
"Microsoft Jet engine cannot open the file - my database!
how can i solve this problem?
i'm using an adodc connection with msjet engine 4.
Problem putting picture on report from database............very urgent -
Hi!
I'm developing an application in VB6 & Access 2000 that involves .jpg files. The database has a text field that contains the path of the image files.
My problem is with creating the report that should contain the picture for the application. Can anyone help me......its real
Rather urgent: Something unique -
Hi all,
I have a rather urgent problem. I need to add a form of registration key, but I was wondering, what is unique in every PC (whether it be via registry or whatever) which is readable in VB? So I could make a key generator for my app which would generate a totally unique key fo
Problems with VB.NET URGENT !!!!!! -
Hi
I am trying to save JPEG images on a SQL database from VB.NET at a rate of 25 images per second using the ExecuteNonQuery() method.
The problem is that at each execution this method is wasting approximatively 400 ms wich is a disaster.
I need help it's URGENT: Is there any other
Urgent Help Needed for calling Parameterized Report -
Dear friend i have created report in access with the help of parameter query. I want to call that report in visual basic which i have done but the problem is that report ask me parameters but i want it should pick the value of the variables and textbox which i have specified. please he
urgent package problem -
Hai
I Packaged an application and deployed in 7 floppies using
floppy deployment.Till now there is no problem.But when i copy from floppy to customer`s computer who does not have vb and oracle(which my application uses),an error comes in the form
access error to recordsource an
Overriding Property in VB -
Hi.
I work on a network that uses tasks in outlook 2003 an a daily basis. But we categorize tasks' priority as follows:
1. Urgent and important
2. Urgent
3. Important
4. Not urgent and not important
I want to know please how can I replace outlook values "Low, High and No
Very Urgent! Plz help! -
What makes people think their question is more urgent than others? They never define such urgency.
It's not like I skim through the thread and try to answer the urgent ones first.
I think everybody should list within their message the urgency of their thread.
And I'm also tir
Urgent : Insert Trigger Problem -
Hi 2 all,
i want to write one Insert Trigger in that
it update other table
for that i require previous table primary key field of last inserted row
i dont want to redesign table with timestamp or with identity.
its very urgent..........
PLz help
Thanks in advanced
Jic
Displaying Mathematical equations and storing it and retrieving -
I am in an urgent need to solve this problem
I have developed an application in Vb where I need to type Maths ( Algebra & geometry )Questions papers for Schools.
Now I want to know how can I Type and display Algebra eqations and problems with fractions, Powers Sqare roots cub
HELP:(URGENT) SQL Querie -
Hello Friends,
I have a problem. I Have Some Data in Table.
I have Field (CRN_ID, FIRST_NAME, LAST_NAME, PAN_No)
Now I want Those records who have Same FIRST_NAME, LAST_NAME, PAN_No but Different CRN_ID.
Please provide me any help its urgent......
Thannkx in advancce
Regard
Urgent: Play sequence in video clip -
Hi,
I need urgent help on the following problem.
I have a several hours long video clip in the format wmv. I need a macro which reads the start and stop time from two cells in excel and then play this sequence.
URGENT!!!EMAILING ATTACHMENTS WITH WINSOCK CONTROL -
As for emailing with winsock control, it is very simple. However, the problem comes to emailing attachments. This is a very urgent problem i have to solve. i hope someone can help me...
Uploading (attaching files) -
dear friends,
i am devloping one web site.
in this site i am permitting the registerd users to attach up to 3 files and the other users can download these files.
i am verry new t othis concept of allowing userts to attach(upload) files and download.so my freinds please help me in
Urgent Differentiation Question -
how do you differentiate
2x^2 - 4xy + 3y^2 = 3 ?
cheers this is really urgent and id really appreciate a quick reply
[URGENT] Need help simulating life,the universe, and everything -
I need to have the answer ASAP and since this is urgent you better help.
Very Urgent Please Dao -
hI
I am new to vb.Can anyone tell me how to link my front-end vb form with back-end access.in simple sentence.
pls.it is bit urgent.
thank you so much
leela
Urgent: Writing MP3 file ID3 -
Really urgent: I need to know how to write into the ID3 tag of MP3 files.
Urgent Help required... -
Hello all,
I'm struggling for the past one week with this problem. I'm attaching my form with this. Some one Please help.
Here is my problem.
I choose the Sales Summary from the combo box in my form. Is shows a frame where I have a multiple-select list box.
When I choo
Urgent message -
There must be a function in Winsock to connect through a proxy server but wich and how plz answer it's urgent
Grtz,
Bloged
DHTML COntrol _ HELP URGENT -
Dear all I have a problem, I have created a HTML editor, and I have a
preview section, meaning I can make changes to to my code from the preview
area. At home, it fine. So I create a setup package an distribut it, then
when i install it at work, it fines but if i try making the ch
Urgent Help Pleaseeeeeeeee....... -
Hi guys,
any help would be appreciated,
it is very urgent problem I have.
I have the following file names (they r dummy -but in live environment they would be something like this - all I want is I have to retreive the latest File from the existing ones
my data looks s
vb.net beginner(very urgent) -
HI
I am New to VB.Net. can anyone please tell me any url for VB.NET free ebooks and codings for beginners which cover the basic information as well very brieg. . i would be more thankful if anyone suggest me.
very urgent
[02/03] URGENT DLL Problem. Pls Help -
Help please very urgent. My collegue is making an ugrent program in VB.net 03 very complicated almost finished. He just installed Crystal Reports 10 and its buggered up his system. Its over written mscorlib.dll with a different one and his program no longer works. we can't seem to find
URGENT Propertygrid problem -
Hi all,
a customer om me has got an urgent problem with his program. I use the microsoft propertygrid in the software. But the standard combo boxes work just once. In the programm i just bind a the correct class to the propertygrid. He can click the arrow to show a combo box once (a
[URGENT]CR for Beginners[/URGENT] -
Hello Friends,
I am Very new to Crystal Reports. Pls tell me the usefull links for the Tutorials, and Code Samples for It.
Also tell me Which Version of CR Should I use with VB6?
Thanks in Advance,
Vishalgiri Goswami
URGENT: deleteing excel file -
I need to delete a certain excel file created by another program, the problem is the other program has it locked. Is there a way to delete it, or even delete all records inside of it?? Please help this is urgent.
Urgent Urget Urgent Urget Help Pls! -
Please, if you know the answer, answer me, plssssss
I have somewhere in my code
... LoadPicture( "C:\...\....gif")
but i will burn my code in a CD, and i will run the .exe and the code in another computer. You see the problem? the path of the picture is in my computer
Database opening problem( Urgent!!!!!!!) -
Please treat this urgent!!!!
I am working on VB-6 and Access-97. I have new machine with office 2000 loaded on that.. If i am using my VB project which is created on VB-6 and Access-97 on new machine, it gives the database error (Unauthorized database format). I have already upgraded
Urgent: Printing just text in a form -
I have a form in which i need to only print out the text in the boxes, ect. Problem is i dont want to use
Me.PrintForm
Instead i would like to just print the text within the form.
Please help Urgent.
PWS does not recognizes PHP files..WHY..urgent -
hi....m trying to connect php with pws....and i havefollowed all the instructions.....but to no avail.....it displays
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
why is it so...pls help...urgent
Required field validators problem [URGENT] -
Hi,
Please see the following link
http://www.abhainfotech.com/feedback.aspx
This is bascially a feedback form. I've kept required field validators for fields Name, company and email. So if someone doesn't enter any of these fields the form is not posted. This is working fine lo