|
samsonx wrote: Can anyone help me out???
Yes, there is one. And guess who? Its you. Help yourself by writing the code to open existing excel.
C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live." - Martin Golding
|
|
|
|
|
Thank u for ur kind reply, i 'll follow it.
With Regards,
Samson
|
|
|
|
|
Hi! I have a project and I am a bit far when I feel really bad..
I have a form for commercial invoice where I retrieve the order from ms access and select some fields to upload in the form.
I have done that preety nice, but what I wanted to know is.., How can I make a print out using datareport... as well as the print preview. (or if there is any more idea in orinting)
I would appreciate any comments, suggestions or idea.
Thanks
Fernan
|
|
|
|
|
You can use datagrid control it is best. you already told ur access the data into form then you can retrieve the data from that form.
Datagrid nature.
first know which section ur woking.
What ever control ur drag and drop from control list it will act as control array and you can access same Ex: if 1st use the line control then it is become control(0).
I think it is useful.
|
|
|
|
|
Hi! thanks for your reply. Are you asking me to use datagrid control in printing? i am afraid i cant use that because I tried to use a vbfrom in printing but that would not give me enough space to print all the data I need. VB forms are not big enough tso I am looking for another way in printing.
Thanks anyway
|
|
|
|
|
k. try this one.
What ever accessing data into form take into the datareport using control then print it this easy ways do it.
|
|
|
|
|
yes that is right. I just get the value of the textbox in the form and link it to my datareport.
thanks for the idea..
Can I make a print preview using datareport? Or do you have an idea of any advance technique in print preview using visual basic.
|
|
|
|
|
no best concept is datareport. you can use form as print preview but problem is form can't expand upto A4. The form can use to A5 sheets.
If you have only text you can use Rich text box and u can align but that is too difficult but u can try it.
|
|
|
|
|
ohohoh! I am really having a hard time doing this printing.
thanks for your time and ideas. I will try to use this datareport in my printing and allign each text boxes.
|
|
|
|
|
hello everyone,
i am trying to send an email using vb and when i get to mail.To.Add("j@yahoo.com") i get the following error:
The specified e-mail address is currently not supported.
any help will be great
thanks in advance.
jyn
|
|
|
|
|
Do you get the error in VB or returned from yahoo?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I guess Yahoo. He is sending single character email id which is actually not supported.
C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live." - Martin Golding
|
|
|
|
|
i got the error in vb.
jyn
|
|
|
|
|
It would appear that the local-part of the address cannot be a single character. There MAY be a requirement that the address have at least 2 characters. You can test this yourself just by adding various addresses to the To property and see what happens. You do this WITHOUT actually sending the message!
Now, if that works, the limit appears to be imposed by Yahoo's mail server, in which case, there's nothing you can do about it, unless you try using a different SMTP server.
|
|
|
|
|
hello,
i tried various email addresses but still i got the same error.
do i need to add any reference in my project or something like that just to send email?
thanks.
jyn
|
|
|
|
|
You've already added the appropriate reference, otherwise the code wouldn't even compile.
It would appear that the server is rejecting your attempts to send mail.
|
|
|
|
|
Hi everybody
I already knew that we can use visual basic to control the other application such
as Microsoft Word, Excel, etc. How s about the other application. Is there any general method
we can use to interface visual basic with any software
For example: currently, I am doing measurement with PC as the monitor device. Every time, I must copy
the result by hand. If there s a way for me to interface visual basic with the software,the result can be copied automatically (to some text file, for example)
Best regards.
|
|
|
|
|
There is no way to control a piece of software that doesn't seek to expose a method of control, unless it's through getting window handles and sending events to controls, which is notoriously flaky and unreliable.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thank you for ur response.
I still have some doubts. Can we use the functions in the DLL of the software
|
|
|
|
|
Member 4159690 wrote: the functions in the DLL of the software
This is the exposed interface CG is talking about.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It is not a very clean way of doing it but I have controlled an application using a combination of system.diagnostics.process.start and sendkeys
http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx[^] You can use this to have some control over the application, it could work if you don't need to do anything special... I used this to make an application print each time a different files was open. When trying to do this just figure out what key strokes it takes to do the process you are trying to accomplish.
Humble Programmer
|
|
|
|
|
I have an Application in VB6.0 and I'm enable to send the mail & attachments
and my Application Design is like that:
|
|
|
|
|
Good for you!
Or were you trying to ask a question??
|
|
|
|
|
jigar_arps wrote: I have an Application in VB6.0 and I'm enable to send the mail & attachments
and my Application Design is like that:
That's nice, and your point being?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
This entire thread confused me.
|
|
|
|