|
I load Images into ImageList, but in runtime i checked there is no image in ImageList.. What s problem thank u
|
|
|
|
|
Since the ImageList control is pretty finicky to begin with, it's nearly impossible to tell you what wrong without seeing any of your code that is filling the ImageList. Another question would be, are you using Application.EnableVisualStyles?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I fill imagelist at design time. when i check imagelist1.imagestream,it is nothing at run time .i intend to use Application.EnableVisualStyles But i tried both case(using EVS and not using EVS),Nothing changed.
if i fill imageList at run time, it is working. But i have to save ico files in to the project folder in this case. But i dont wantto do this. what Can u offer me ?
|
|
|
|
|
Hi All,
How to make Scrollable image with Picturebox Control,
means insert scrollbar with the picturebox.
plz give code too if possible.
thanx in advance
Sajjad
|
|
|
|
|
You wont need any code at all
1. Drag a Panel on the form and set its AutoScroll property to true.
2. Drag a PictureBox into the panel at the top left position (0,0) and set its SizeMode to AutoSize .
3. Assign a big picture to the picture box and be happy
|
|
|
|
|
|
HI
I m designing one application for one company as my final year project.
I want to know that how can i send employee No.(In the login form as user name) to other form to display the information of that employee from database.
Simply speaking i want to send Value of employee No field in login form to EMPLOYEE INFO form to display the info of that employee.
Please give me response as fast as possible.
|
|
|
|
|
|
Hi All,
Plz tell me, how can draw rectangle on image with any event.
means,if anyone click on button 1, so rectangle draw on specific position in the Image or anyone Enter the textbox 1, so rectangle draw on specific position in the image.
plz discuss in detail
Thanx in advance
Sajjad
|
|
|
|
|
You will need a Graphics object for the image and then you can draw directly into it:
using (Graphics g = Graphics.FromImage(myImage)) {
g.DrawRectangle(new Pen(Color.Black), 10, 10, 20, 20);
}
|
|
|
|
|
Code for Keyboard hooks in VB .Net
|
|
|
|
|
|
Yes there is. Google for any requirements you may have. We are not in the habit of just giving code away. You don't learn anything like that. We will help you with your code, but we won't write it for you.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
For some reason, the CurrencyManager will not let me remove the last item in the collection. For example, if I have a CurrencyManager bound to a collection with a Form and Control bound to the CurrencyManager. I can remove any item from the CurrencyManager just fine with RemoveAt. However, if it is the last item , it simply ignores the call. It doesn't throw and error, it simply doesn't do anything. Count remains Same, Position remains 0. Even if I try calling CurrencyManagerVar.List.Clear(),
it ignores the call. Again, no error, just doesn't do anything.
But in my Another form it has worked fine with CurrencyManager.RemoveAt(CurrencyManger.Position)
Any Problem in my code?
My code is :
CurrencyManager.RemoveAt(CurrencyManager.Position)
I have also tried with
Dataview.Delete(CurrencyManager.Position)
And
Dataview.Delete(CurrencyManager.Count-1)
And also with
DatarowView = CurrencyManager.Current
DataTable.Remove(DatarowView.row)
above all are not working
|
|
|
|
|
Any examples out there of adding automation capabilities to a vb.net application?
|
|
|
|
|
|
hi
i have a form with toolbar.
if i use application.enablevisualstyles, all images on toolbar doesnt seem at run time, if i dont use application.enablevisualstyles, u can see images on toolbar buttons. What is problem?
Thank u
|
|
|
|
|
This has been well documented all over the 'Net. A simple Google for "EnableVisualStyles Toolbar" would have revealed hundreds of hits. After the Application.EnableVisualStyles() line, add Application.DoEvents() . This will take care of the problem for you.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Relative Newbie would like to know what strategy to take to sharing classes, modules etc between projects.
|
|
|
|
|
|
how to derived from tabcontrol with dialog window
hai
|
|
|
|
|
What? This doesn't make any sense. Are you looking to create your own TabControl?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
I request to give some guidence how to open a exe in the mdi form using vb.
Thanks in advance
goood
|
|
|
|
|
You can't.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Does the process class not work in an mdi form? I've never tried it on an MDI form, but I thought you could use process.start just about anywhere.
|
|
|
|