|
Dear friends,
Good morning.
I have developed the application using Microsoft visual studio 2005 in C# 2.0 Windows, console and Windows Service Project in One solution file.
Now I have added one more project called Setup from Setup Project Template.
My client has required multilingual installation setup and custom program EXE selection in single setup.
How can I implement this functionality in Visual Studio 2005?
Thank you.
B.Sundarapandian
|
|
|
|
|
hi all
can anyone tell me what properties should be set to alter the form controls when the form gets resized.can i use anchor and dock properties that are used in windows application in web based application also..
pintoo
|
|
|
|
|
Use table layout for best results. The property you need to set is "anchor".
Until you realize this message has nothing to say, its too late to stop reading
|
|
|
|
|
Hi,
i want to add a image to the selected text area in the multiline textbox.
can anybody help me regarding this...
|
|
|
|
|
Possibly the easiest way would be to subclass the control and handle the onpaint method to draw in your own image.
|
|
|
|
|
An image in a textbox? Sounds like you need a RichTextBox .
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
|
Hi guys,
I have one panel and one picturebox in panel.Here picturebox exceed panel height.Now, I wanna to move scroll thumb downward on
click of button to let user see the other areas of picturebox.
I have written one code in button_click event
panel1.VerticallScroll.Value+=5;//5 indicate moving thumb by 5 pixel.
I am getting some awkward output.In first click I can move picturebox top by 5,in second click verticall scroll bar get incremented by 5,in 3rd I can move picturebox top by 5,in 4th click verticall scroll bar get incremented by 5.
can any one tell me why it so...I want both to be done in one click.
pls reply
thanks in advance.
Regards
Chintan
www.visharadsoft.com
(I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)
|
|
|
|
|
Try adding panel1.Refresh(); to update it after you change the scroll bar, it might help.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
On the KeyDown event in a DataGridView I want to open a context menu
using the Apps key, something like: if (e.KeyCode == Keys.Apps) then
show the context menu by the selected row. The problem im having is how do I get the right position for the selected row to send in to the contextMenu.Show() method.
When using the MouseUp event I can just use the MouseEventArgs (e.Location) to position the context menu by the selected row: contextMenu.Show((Control)sender, e.Location); Anyone know how I can accomplish this for a keyboard event?
|
|
|
|
|
Hi,
How to disable/remove "Delete-Key" on dataGridview?
Thank you
(Riaz)
|
|
|
|
|
You could override PreProcessMessage method
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData.Equals(Keys.Delete))
{
// return true to tell the caller,
// that the message was processed by this control.
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
or simply set AllowUserToDeleteRows to false
|
|
|
|
|
How can i create office 2007 rtf control?
Office 2003 rtf and normal rtf can't support some unicode system.
Zippy Pack
|
|
|
|
|
Actually I am using an image when the mouse is over on the image i want to increase the size of image,like zoom effect, and it increase the original size of the Image control and it will half appear outside of my form.
|
|
|
|
|
No you can't. The form which is the container of your control is like a piece of paper. Your picture can only be drawn within the boundary that your canvas allows. You could end up scribbling on the desk, but GDI+ doesn't like that
Daniel Minnaar
Lead Software Developer
|
|
|
|
|
I have 2 projects coming up that require me to use existing map/floorlayout, certain areas must them be identified by the user. Lets say Room1, Room2, etc. Those areas should then be saved and either allow the user to select them (identifying which area was selected) and colour (fill) them in order to show "occupied" for example. (It will be done in WinForms .NET 2.0)
Honestly have never done something like this and was wondering what tips and pointers my fellow CPians could give me
Francois
modified on Tuesday, December 04, 2007 1:37:55 AM
|
|
|
|
|
Do one thing
Create Two variables for 1) for room no 2) for color
Now the user prompt the user to select the room and color
that work you can access by four button or chick box
When the user select the check boxes now you should generate an event which will take the color and room no as argument that you will handle through the coding the custom color and room.
|
|
|
|
|
Sorry maybe I was not clear enough
These rooms must be visualy defined. For example the client will scan in a floor layout of a building. Then by "drawing" on this scanned image define where "Room1", "Room2" etc are in terms of location and size.
Then a user must be able to click on a area and the application must then identify the click; i.e. whether the user clicked in "Room1" or "Room2" on the image. Also it needs to display the image with (for example) "occupied rooms" being shaded, indicating they are unavailable.
Hope that helps...? We are talking about images and GIS kinda stuff here ... I think
|
|
|
|
|
You're basically going to have to translate the mouse click location into a position on the map. This means that behind the scenes, you are going to have to translate each room into a set of extents and then see which extents the mouse click is in.
|
|
|
|
|
yip, kinda like that. i'm hoping someone can help me in the right direction as far as saving these custom defined areas to database as they are not just simple x,y,height,width measurements... it might be a "freehand" shape. also how, once you have established a scale, to calculate areas etc...
*****
thought of a better way to explain this ... ever seen these automated terminals at the movies. on the touch screen you select the movie you want to see and then you shows you a schematic of "the cinema", the blue squares will (for example) be the "taken seats" and the white square will represent the "available seats". The user can then click on the seats they want to book.
this is effectively what i need to do .. the only addition is that in a cinema the seats are predetermined. My application also need to allow the user to define the number, size and location of the "seats" in a given area/layout.
*****
|
|
|
|
|
I have an WinForm and WebBrowser control on it. WebBrowser generates a NewWindow event (many web links have that settings by default) than I catch it, make it e.Cancel = true .
But the question: how to retrieve full requeted URL
The code:
...<br />
webBrowser.NewWindow += new System.ComponentModel.CancelEventHandler webBrowser_NewWindow);<br />
...<br />
void webBrowser_NewWindow( object sender, System.ComponentModel.CancelEventArgs e ) {<br />
Console.WriteLine("New window" + (sender as WebBrowser).Url.ToString());<br />
e.Cancel = true;<br />
}
Thanks in advance!
|
|
|
|
|
I had did a project in C# in a machine, now i need to transfer all its files to another machine?When i copied the solution folder and dropped in new machine in a right path? i had installed same version of Vs200 and Sqlserver2005 when i tried to open the same in new machine , i couldnt find my projects Solutin icon in solution explorer? Also i couldnt set a new form created in new machine as startup in the same folder?
Pls help. How to rectify this?
senthil
|
|
|
|
|
Well I never had a problem with just copying the complete folder to a new PC and then opening the solution (that should only contain relative paths) - maybe you are missing some critical files that are located on another folder (for example the solution file?)?
|
|
|
|
|
And that got voted down, guess it wasn't the answer they where looking for.
I also have never had a problem with copying projects. They just work, wherever i put them.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
Hope you are dealing with windows desktop application.If yes then hope below items are matched with items in ur another maching.
.NET Framework
Visual studio XXX
sql server xxx
If u r dealing with Web application then chk out its ISI path as well as virtual directory path.
nJoy .NET
Regards
Chintan
www.visharadsoft.com
(I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)
|
|
|
|