|
-
May 20th, 2013, 01:07 PM
#1
Thread Starter
Member
[RESOLVED] what i'am doing wrong ????
hi guys,
Here is my problem i have 2 projects the first is called message the second is showmessage
basically the idea is when i type the message in the first project (textbox1.text) and click Ok
then when i open the second project "showmessage" it will show the same message !
I tried this
Added 1 textbox in the first project
dim file1 as string = textbox1.text
fileopen(1, file1, application.staruppath & "\showmessage.exe", openmode.binarry, openaccess.readwrite, openmode.shared)
file1 = space(lof(1))
fileget(1,file1)
fileclose(1)
in the showmessage project
dim file1 as string
fileopen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared)
file1 = Space(LOF(1))
FileGet(1, file1)
FileClose(1)
msgbox(file1, msgboxstyle.critical, "Title")
sorry if i made some mistakes, cause i writed it...
what i'am doing wrong ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|