Hello,
i want to read values from a binary file in VisualBasic 6.0
Initially i want to read only header of this binary file. I know this structure for this header. It is 100 bytes long and consists of
9 variables of Integer: Signed 32-bit integer (4 bytes) and
8 variables of Double: Signed 64-bit IEEE double-precision floating point number (8 bytes).
when i tried to assign integer and double...
User Profile
Collapse
-
How to read Binary file
-
Return value of shell function
hai
When i call an external program using shell function, it is running succesfully what i need to do from the external program except the return value is zero hence i can't close that program. if replace the external program name to "notepad", then my programs works fine.
What could be the reason? the said external program was done by some third party. only problem is return value.
can some one... -
place images on Data Report VB6
Hai,
I want create an employee information report that shows all details and photo of each employee. The data was stored in MS Access database. I am using VB 6 and VB Data Report for reporting. The photo was stored as OLEDB Object ( Long Binary format in ms access).
Please can some one can tell me how to do it.
Thanks
Raj -
dissable confirmation message
Hello,
Please help me.
I have seen similar problem in this forum but the answer is related to something else.
I have created a small program to send e-mail (MS Outlook) automatically when certain conditions are met. But when i want to send message program is prompting for confirmation with the following message. I want to dismiss this message with default option Yes and program should send automatically the... -
add Image and checkbox on data report (VB6)
Hello
How to add a check box on Data Report. also i want to chane the image source file during run-time as per user requirment. In this regard i have seen the following thread:
http://www.thescripts. com/forum/thread191069.ht ml
But i am not able to understanad how and where to place the following code:
Private Sub Detail_Format(C ancel As Integer, FormatCount As Integer)
------
- -... -
limit input in textbox
Hai,
Is there any way to limit the input data to the width of of the textbox itself.
I don't want scroll data when user keyins. I don't want to use Max length concept because some times user may change font size, hence the number of characters may change. The reason is, i want to print this form with these textboxes after data entry If i enter the text more than my text box width, i can't get all the data in my output.
... -
it is working fine.
thank you all.
Raj... -
-
who is using ms access database
Hello,
i have developed a small program in VB 6.0 and the backend is MS ACCESS.
i want to know who is currently logged ms access database. Some body accessing this database by using my program which is located in a local server. some times i need to modify the database. Hence i need to open ms access exclusively for me. But i am unable to open it. it was locked by some other user. if i know that user name, i can ask him to exit the... -
It is working fine.
thank you once again for your timely support.
Raj....Leave a comment:
-
Hai,
Thank you for your response. I want to make it more clear with my new requirement. I want to do a small program similar to Messenger service by using netsend command. i created interface for sending mesages and it is fine.when i receive the message from other user i copied this message to textbox in my interface. now my problem is:
1. how to invoke my program when i got message from other user?
2. If i keep my program running...Leave a comment:
-
-
restore button - activate
Hello All,
How to activate my restore button when my (program) window/form is in minimized state through code at a particular time only. I have a timer control on my from. Can i use showwindow function or is there any other simple solution.
Please help me.
Thank you all.
Raj -
Hai,
thank you for your help. Now my problem is solved. As you said i asked my system administrator to start the messenger service. It is working fine now. thank you once again.
with regards.
Raj...Leave a comment:
-
Use the following:
count the selected recordset.
n= C1.recordcount
if n>0 then
.... do what you want
else
exit sub
end if
You will not see the error message.
Good Luck....Leave a comment:
-
hai, Thank you for your suggestion.
I checked this already, it shows that Status is Started, But startup Type is Empty. I think it should be either manual or automatic. I am unable to change this because i am getting an error like this:
"Unable to open service Messenger for reading on Local Computer. Error 5: access is denied."
Also please note that i don't have system administartor access. I will try to check...Leave a comment:
-
net send command not working.
Hello,
I made a small interface to communicate with different persons by using net send command. some of our systems are Windows 2000, and windows Xp and windows Xp wirh Service Pack 2. This program is working fine on all work stations except 2 work stations where the operating system was Windows Xp ( SP2). Later i came to know that The windows messenger system in Windows Xp with SP2 has been disabled. Is there any way to resolve this probelm.... -
how to get username on remote computer
i want to know the username who is working on a particular computer.(Remot e computer) I know already the computer name which is listed in a combo box.
Is there any way to get username?
please help me.
Thanks
Raj -
Mschart With Horizontal Bars
I want to show some data using MSChart with Horizontal Bars with Fill color similar to Column type. I don't want to use Line type. Is It possible with MSChart in VB6. or is it possible to rotate the column type chart.
Please help me.
Thank you.
Raj -
i didn't use this command, in fact i don't know this command.
printer.orienta tion is working fine. Thanks for your support.
Raj...Leave a comment:
No activity results to display
Show More
Leave a comment: