Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for lishannx

the above code pasted can only drag the button but not into the picturebox. pls help.[code]hi, i need to drag a button into a picturebox and when the button is dragged inside the picturebox, i want it to be able to move around also. but my code i did only …

Member Avatar for fkomment
0
148
Member Avatar for lishannx

I have a program and i want to make the increment keep adding on. I added a while loop but its not working. Anyone help ? [CODE]int Limit = 0; if (e.Button == MouseButtons.Left) { ((PictureBox)sender).Left += (e.X - x); ((PictureBox)sender).Top += (e.Y - y); ((PictureBox)sender).BringToFront(); int Qty = 0; …

Member Avatar for lishannx
0
146
Member Avatar for lishannx

I have a program that allows drag and drop into the panel (Picturebox). How am i to ensure that this picturebox only be dropped into the panel and no where else? [CODE]public Form1() { InitializeComponent(); string ImagePath = Application.StartupPath + @"\\Model Products v3\"; // string[] Images = new string[] { …

Member Avatar for lishannx
0
216
Member Avatar for lishannx

ive a drag and drop program and i want to allow drag and drop mulitple times and not one time. after being drag and drop, the created picturebox will also be created multiple times. is it correct to use for loop? pls guide.thank u. rgds.

Member Avatar for lishannx
0
148
Member Avatar for lishannx

hi, have a slight problem here. this is my open file dialog code. [CODE] private void browseToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Title = "Browse And Upload A Template."; ofd.Filter = "All files (*.*)|*.*|All files (*.*)|*.*"; DialogResult dr = ofd.ShowDialog(); if (dr == DialogResult.OK) { //bitmap …

Member Avatar for kvprajapati
0
133
Member Avatar for lishannx

ive created a new picturebox with the image to be directed from my directory. but it came be the case that the directory path will always be on my desktop. how do i make the path not hard-coded? pictureBox = new PictureBox(); pictureBox.Image = Image.FromFile(@"D:\Documents and Settings\12344\Desktop\Model Products 40x40 v2\Model …

Member Avatar for Diamonddrake
0
1K
Member Avatar for lishannx

i allow drag and drop a picturebox to a panel. after drag and drop i need to allow the picturebox to remain in its own position and not leaving an empty space there. how do i do about it? image.clone does not work. pls help.thank u.

Member Avatar for lishannx
0
4K
Member Avatar for lishannx

ive set up a connection string and whenever the program hits myConnection.ConnectionString, it will appear such an error : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that …

Member Avatar for kvprajapati
0
175
Member Avatar for lishannx

ive been reading up tutorials from this website. but i don really understand how to do this to my program. ive a filename name passwordFile. and my program that i wrote using shell script can see online current users. but ive no idea how to read it into a file. …

Member Avatar for lishannx
0
90