|
Hi..
i want to move two layers of images (like photoshop) above each other..
for example.. suppose i have two images, one is circle and the other is square, both images background color is transparent, i want to allow the user to move these to images above each other freely..
how to do it??
do i need just 2 pictureboxs?? and how to drag them??
thanks..
|
|
|
|
|
You probably need to create your own bitmaps and draw them yourself, or keep track of the shapes yourself and draw them yourself.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
me and a few friends are working on a system that are able to export report into other format(.xls,.doc),
it's working for the first time but after that we keep getting this error;
(FYI;we developed this system using vb6, crystal report 9.)
runtime error-
missing or out of date export dll
i've checked whether the .dll exist and i found it in windows/crystal,
we need the u2f*.dll to make this work rite?
i really need help here...
thank u in advanced!!really appreciate it!!
(hope u get my sentence, not really good in english)
|
|
|
|
|
as topic, i wan to create a normal save function to save the content of a richtextbox to a normal text file, anyone can provide the coding? any help is greatly appreciated...
|
|
|
|
|
Import the namespace System.IO using
Imports System.IO
Dim fs As FileStream = New FileStream("c:\temp.txt", FileMode.Create)
Dim strText As String = rtfMyTextbox.Text.ToString
Dim fw As StreamWriter = New StreamWriter(fs)
fw.Write(strText)
fw.Close()
fs.Close()
|
|
|
|
|
as topic, can anyone provide coding to clear a picturebox?
|
|
|
|
|
PictureBox1.Image = Nothing
RageInTheMachine9532
|
|
|
|
|
I'm trying to print on my pocket pc. I have a seiko dpu 3445 printer. I've found some driver for it but when i try it on a window ce 3.0 it works very well but when i try it on a window ce 4.20, My pocket send bytes to the printer, the connection is establish but the pocket's frozen and nothing's printing ...
Did someone have driver for that kind of printer or did someone know something about it ?
Thank You
|
|
|
|
|
Everyone,
I need some help in moving xml files generated in a windows console app to an ftp site within the code of the windows console app. Thanks in advance.
Rob Pesce
|
|
|
|
|
I did somthing like this. I have a error message saved to a file in .TXT then that file is sent to a FTP server. Most of the work is done in a class which is called after the file is created in a temp folder on the C: drive. Is this something like what you are looking for?
|
|
|
|
|
Yes, all I need to do is move a XML file from the console application to a folder on our FTP site. I need something simple and dependable to accomplish this task.
|
|
|
|
|
I've been meaning to reply sooner but I've had a battle with my web server. and I haven't won yet.
I have a copy of the class I used for the FTP transfer. It will need some modifications but it may be a start for you. You can find it at ftp://4.10.187.76/FTP%20download%20class/clsFTP.vb just do a copy of the text and past into an empty class file. There are many notes in the file.
|
|
|
|
|
Thanks for all your help. This worked well.
Rob
|
|
|
|
|
How to populate a combo box with a list of workgroup computers?
I am working on a backup program that will transfer files to another computer on the network. I would like to populate a combo box with the names of other computers on the network or in the workgroup. I'm sure there is a way to do it, but I'm not sure how. Any help is greatly appreciated.
|
|
|
|
|
I have to register a dll in my pocket pc and i don't know how to do this. Does it have a regsvr32 or something like this ?
Thank You
Josee
|
|
|
|
|
HI
Any one help me to geting the target path of shortcut using VB 6
OR
any other functionality like Usig API's in VB 6.
if any one knows please help me.
Eman Ali Moughal
|
|
|
|
|
anybody can help me doing url link in textbox.i want to link the website url and email(outlook express as default).
i really need this coding or example.thanks
|
|
|
|
|
ninie_salwa wrote:
anybody can help me doing url link in textbox.i want to link the website url and email
This is a little vague or off target. A text box is something for entering text. If you put a URL or email address in it it won't be clickable.
Do you mean a LinkLabel[^]?
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
I have a general question:
when we want to delete a program we go to control panel...Add remove program.We uninstall the program, we don't delete it by clicking on the delete button.
i make a vb.net application, i used the exe file to start the application.
if i delete this exe file, it will harm my operating system? i mean some dlls could be deleted with the exe or not?
Thank you.
|
|
|
|
|
Goodway wrote:
i make a vb.net application, i used the exe file to start the application.
if i delete this exe file, it will harm my operating system?
If you delete an EXE file using Windows Explorer then all that is deleted is the EXE file, nothing else. If the program is in use Windows will not permit you to delete it because it is still in use.
Goodway wrote:
i mean some dlls could be deleted with the exe or not?
No. Nothing else. When you go to Add/Remove programs in the Control Panel what it is doing is uninstalling the application based on information placed in the system registry on installation. To do this you would need to create a Setup Project to handle the installation.
Does this help?
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
No sorry,
I didn't understand about creation a Setup Project to handle the installation.
|
|
|
|
|
For more information on Setup and Deployment projects see MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vbtskCreatingOrAddingSetupProject.asp[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
Actually, this is probably a better link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vboriDeploymentInVisualStudio.asp[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
I am working on a project that i need to print a string and just some database records and i have no idea how to do this on .NET.
Does anyone have just a simple way to do this or an example i can use. I wish it was still like 6.0 that was so easy. Thank you for any help.
PLEASE HELP haaaaaa!!!!
|
|
|
|
|
Add a "PrintDocument" Control to the form...
Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
e.Graphics.DrawString("The String You Want To Print", _
New Font("Arial", 12), _
Brushes.Black, New RectangleF(30, 20, 650, 850))
'30, 20, 650, 850 = these coordinates represent the rectangle in which the give text will be printed
End Sub
Private Sub ToolBar1_ButtonClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar1.ButtonClick
Dim PrintDialog1 As New PrintDialog
PrintDialog1.Document = PrintDocument1
Dim result As DialogResult = PrintDialog1.ShowDialog()
If (result = DialogResult.OK) Then
PrintDocument1.Print()
End If
End Sub
--------------------------
hope this helps you..
Harry
|
|
|
|