|
Hi,
I'm trying to get my Visual Studio compile .dll file to go into the debg folder but it is not. I checked the properties of this project and from the Build tab there is an Active (Release) selection. I have another project, which is not part of this project at, when I go into the properties there is no Active (Release) selection, but rather an Active (dDebug). In the second project mentioned, my files are put into the bin/debug folder.
How do I get the above mentioned project to put the "debug" version of the .dll file into the bin/debug folder. There where I see Active (Release) I selected the Debug option, and specified the bin/debug folder, but it's still putting it into the the release folder. I don't want to use any released version right now, just the debug version.
Please can someone help me in my confusion.
Regards
ma se
|
|
|
|
|
Hello
1- Clean all release and debug files from your projects output folders using windows explorer
2- Go to configuration manager
3- Choose debug version and press OK
4- Go to project's properties
5- Choose build, and choose Debug version from the configuration checkox above.
6- Set the output path in the proper textbox field to the lower end of the screen and press OK
Regards
|
|
|
|
|
Thanks, this worked just fine.
In the properties of the project, there are option you can tick, like:
Define DEBUG constant and
Define TRACE constant
What does this mean, they both are checked for Active (Debug). Why are they checked, and when do I not check them??
Regards
ma se
|
|
|
|
|
Hello
This enables you to use the Debug and Trace classes to monitor your programs excution. Typically when you are in debug mode you set both to true, but when you release your application, usually you only trace through your application. For more info about Tracing and debuging rvise Trace and Debug classes in your MSDN.
Regards
|
|
|
|
|
hi guys !
need some help.
im developing an enterprize deployment appplication which install client softwares on remote machines in a LAN . I m using WMI win32_product class's install() Method for this..
the problem is
i want to create a installation log file for the installed software on client machine ..
.. how can i do this install() method
sample code:
ConnectionOptions options = new ConnectionOptions();
ManagementScope scope = new ManagementScope("\\\\" + sRemoteMachine + "\\root\\cimv2", options);
scope.Connect();
ManagementPath mp = new ManagementPath("Win32_Product");
ManagementClass classInstance = new ManagementClass(scope, mp, null);
ManagementBaseObject inParams = classInstance.GetMethodParameters("Install");
inParams["AllUsers"] = true;
inParams["PackageLocation"] = sourceFilePath ;
ManagementBaseObject outParams = classInstance.InvokeMethod("Install", inParams, null);
how to options[] param for creating the log file .. or any other method..
abhinav
|
|
|
|
|
Sorry guys,
i am reposting this topic
I wish to fetch some video files from the server and convert those to a flash file and play them in the browser.
Please direct me to some good source for the same.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Hello
Hmmm... This would take a lot of work. Take a look at the search link below!! Maybe it would give you a start.
Click here.[^]
Regards
|
|
|
|
|
Thanks but none of the links gives C# code to convert the
VIdeo file to Flash file.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
I am writing one appliacation through which I can send data from one pc to other and from pc to mobile phone via bluetooth communication,I want some hint to get started ,coz I dont know about any bluetooth APIs.I hope some will help me in right manner
<marquee>nishu
|
|
|
|
|
Hello
Take a look here[^].
Regards
|
|
|
|
|
Hi,
The subject says it all .
I have several controls on a tabed form. Included amongst those controls is a checkedlistbox. Whenever I select an item in the checkedlistbox, that control holds focus, meaning I can't navigate to any of the other controls EXCEPT those in the bindingNavigatorControl. In all other respects the controls, including the checkedlistbox work fine.
Is this intentional or function selectable?
Glen Harvy
|
|
|
|
|
Hello
Glen Harvy wrote: Is this intentional
Uhm.. I guess so!! What would be wrong with that?
OTOH if you want to change the focus manually and set it to the next control, it won't make much of a problem, would it?
Regards
|
|
|
|
|
Well, how would you like it if you typed some required info into a textbox and you had to click save before you can fill in the next textbox on the same form
OTOH, if there is a workaround that you would like to share with this very novice developer I would be greatly indebted to you if you did
Glen Harvy
|
|
|
|
|
In the original post:
Glen Harvy wrote: Whenever I select an item in the checkedlistbox, that control holds focus, meaning I can't navigate to any of the other controls EXCEPT those in the bindingNavigatorControl
I think I didn't get you right!! Did you mean that the CheckedListBox has the tab focus captured -ie. when you press tab you move to the next item in the CheckedListBox instead of focusing on the next control-, or did you mean that you have to submit -save- the data before changing the focus?!!
What exactly do you mean by navigate? and how many controls are DataBound -if any- beside the CheckedListbox? Workarounds are always there, but your problem is what exactly?
Regards
|
|
|
|
|
Thanks for your response ..
There are 4 controls on the page. One is a textbox, two are drop down comboboxes and one is the checkedlistbox.
I can edit the textbox then move (tab or mouse) to either of the comboboxes and make selections without problems. I can freely move between any of those controls as well as the save, exit etc buttons in the navigator/menu strip.
When I check or uncheck one item (or items - I can change as many as I like) in the checkedlistbox I can no longer select any other control listed above EXCEPT the navigator controls.
The checkedlistbox is bound to a separate datatable than all the other controls on the page - any changes are processed separtely to the naviagtor bound items.
Everything works fine (ie I can edit and save the changes) except I must leave the checkedlistbox selection changes to the last or I won't be able to change anything else.
It's got me stumped!
Glen Harvy
|
|
|
|
|
That's weird!! Never occured to me before!!
Glen Harvy wrote: When I check or uncheck one item (or items - I can change as many as I like) in the checkedlistbox I can no longer select any other control listed above EXCEPT the navigator controls.
What happens when you try to click inside the textbox? Nothing at all? What about doubleclick in the textbox ar any other control? What happens after you click save in the navigator? Everything back to normal I guess?
One workaround is to automatically call a save when the use checks/unchecks anything. This will submit the transaction and may realse whatever capture is there. If this doesn't work, or is inconvenient, I'll be waiting for an answer to my above three questions.
Regards
|
|
|
|
|
Nader Elshehabi wrote: What happens when you try to click inside the textbox? Nothing at all? What about doubleclick in the textbox ar any other control?
You cannot select/click/double click any other control besides the bindingnavigator controls once you have clicked once in the checkedlistbox.
Nader Elshehabi wrote: What happens after you click save in the navigator? Everything back to normal I guess?
Yes.
I guess your workaround would work but it is conceivable that there would be quite a few saves involved.
I've already tried to transfer the focus to another control everytime a checkbox is clicked BUT that doesn't work either.
I don't have enough experience to properly work this out but I hate it when something likes this happens ie no one else seems to have the problem. I'm trying to re-think the construction of the form itself because it strikes me that the problem lies therein.
Any other ideas?
Glen Harvy
|
|
|
|
|
Last thing I got in my sleeves is what I told you. First Save the data automatically -Sorry!! No rollbacks here!-, then use one of the folowing methods to change the focus:
MyListBox.SelectNextControl();
TextBox.Focus();
TextBox.Select();
this.Capture = true;
Well, I hope something of the above works. If I figue out something else I'll make sure to post.
Regards
|
|
|
|
|
I've tried everything without avail.
After a lot of research on the net, the problem I am having would appear to be a derivative of the known bug with the checkedlistbox control that occurs when the control loses focus on a tabed page. Whilst I am not losing "state", all the other symptoms are present viz a Tabed Page, visible being toggled etc.
I'v re-written the whole tab and now have the checkedlistbox come up in another window by itself.
Thanks for your input - it has been appreciated - I'm not alone
Glen Harvy
|
|
|
|
|
I'm writing an app in C# with Windows Forms, and one of the things I want to do is have smaller "tool window" forms in addition to the application's main form. These tool windows need to appear above the main form at all times, even when they are inactive. I can't seem to find a way to do this except by using the TopMost property, but that just produces a form that shows above everything, not just my application's main form. This is not what I want - the tools should appear above the main form, but under any other active windows.
Making the tool form a child of the main form doesn't seem to help either; it's not allowed to be a top-level form in this case, and it can no longer move outside of the main form's borders.
I'm sure there's a pretty easy way to do this that I'm missing, but even a bit of searching on MSDN and Google have turned up nothing useful. Any help would be appreciated.
|
|
|
|
|
Woops, never mind! The answer was staring me in the face the whole time:
Form.Show(IWin32Window owner)
is the overload that does the trick. Carry on, nothing to see here.
[Insert witty and relevant signature here]
|
|
|
|
|
Hi guys, I ve created a Win app that allows me to add picture to my database using the following code
System.IO.FileStream stream = new System.IO.FileStream(FileDir.Text, System.IO.FileMode.Open, System.IO.FileAccess.Read);<br />
byte[] buffer = new byte[stream.Length];<br />
stream.Read(buffer, 0, (int)stream.Length);<br />
stream.Close();<br />
InsertImage(ref buffer);<br />
buffer = null;
The Function InsertImgage stores the picture in my database, this part is easy I'm wondering how I can store a picture with specific size, for example 500*600 ?!?!
Thanx in Advance
|
|
|
|
|
Hello
You can scale you image using a Graphics object:
Graphics g = Graphics.FromImage(MyImage);
g.ScaleTransform(XFactor, YFactor);
You can determine X, and Y factors by the ratio between the current size and the size you want to scale to.
Regards
|
|
|
|
|
Hi everyone.
I have a problem made me depressed!
When I'd been using VS.net 2003 I used to put an image in PNG format with some parts transparent as my form's backgroung image and that way I could make the whole form follow the png transparency even if the png was 50% transparent, the form could became a 50% transparent form showing the objects below the form, but as long as I started using VS 2005 the form shows the png image on the background color of the form and also I can not set the background color to transparent and even if I use the transparency key of the form, it just damages the appearance of my form!
Any idea what to do?
Sojaner
|
|
|
|
|
Hello
I don't know much about VS2003, but your solution is GDI+. In this article[^] take a look at the PerPixel example. It does exactly what you are looking for.
Regards
|
|
|
|