|
"Unknown XSLT function" sounds like something in your XSLT, not your C#.
|
|
|
|
|
Hello there
Will any one kindly help me in a way that please send me the link or the video lectures of visual studio 2005 (c#)
|
|
|
|
|
|
Try here[^].
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hy
Can anybody tell me about an CVS alternative integrate with .NET VS 2005 and free.
thx
|
|
|
|
|
I hear good things about SubVersion. And there's a cheap commercial product Visual SVN that does Studio 2003 & 2005 integration. I haven't used it yet, but I hear nothing but good things about it.
|
|
|
|
|
Subversion is great.
Haven't tried the Visual SVN though.
But it supports checking in/out, reverting, branching, revision history etc etc.
But I never felt like I needed it integrated in VS .NET anyhow.
-Larantz-
|
|
|
|
|
If you're interested in SVN...
SVN[^]
Tortoise SVN[^] integrates it with Windows Explorer.
Visual SVN[^] for Studio integration. It may have a standalone GUI too, I don't know for sure.
|
|
|
|
|
AnkhSVN plugs into Visual Studio. Its a little buggy, but its free.
|
|
|
|
|
Hi,
CVS SCC proxy is a SCC API plug-in which provides access from all Microsoft SCC enabled software to general CVS repositories. The Microsoft SCC API is supported by: MS VC 5.0-7.0, MS VB 5.0-7.0, MS .NET, MS FrontPage, MS DEV and other Microsoft development tools.
You can use the PUSHOK's CVS SCC proxy, configure it and developers can access CVS right from the Microsoft IDEs like SQL Server 2005 Management Studio, Visual Studio 2005, etc. Mail me for a detailed document, which I have compiled for the procedure.
|
|
|
|
|
I wrote an application to run on a smart device with win ce 5.0. I've now been asked to make the application work on win ce 4.2. I already know at least one of the libraries I use is not available for 4.2 devices. I'm looking for suggestions on how to accomplish this back port without messing up my 5.0 development environment. Has anyone done this? Any thoughts?
--cat
|
|
|
|
|
Build most of your code in Classes that be used in any enviroment. You can also use Design PAterrns to workout you enviroment then use the correct libraries.
|
|
|
|
|
This:
pippyn wrote: least one of the libraries I use is not available for 4.2 devices.
makes me think your in for more work than what it's worth.
Just a thought...
|
|
|
|
|
i agree that it's likely more work than it's worth..especially since i have 200 5.0 devices and 5 or 7 4.2 devices. I'm trying to build a case against doing this work. For that I need to know what i'm up against, in terms of effort and the expected life of the older devices.
As for developing with classes that run with any version, that's great advice after the fact. Even then, I specifically chose the newer class because the hardware manufacturer was discontinuing support on the older class.
I think my best bet, if I'm required to move forward with ths project, is to get a seperate development pc and recreate the old environment, probably with evc4, and go from there.
thanks anyway, y'all.
|
|
|
|
|
pippyn wrote: I think my best bet, if I'm required to move forward with ths project, is to get a seperate development pc and recreate the old environment, probably with evc4, and go from there.
Best bet. Using MS's or VMWare's Virtual PC would probably be a good idea to put the dev environment under.
pippyn wrote: As for developing with classes that run with any version, that's great advice after the fact. Even then, I specifically chose the newer class because the hardware manufacturer was discontinuing support on the older class.
Best case against doing it, right there. The hardware is probably going to last another year, at best, before they want upgraded stuff.
|
|
|
|
|
I am aware of how to close a form. But, in a project I have been working on, the from cannot be created regularly. My Program.Cs looks like this:
static void Main()<br />
{<br />
Application.EnableVisualStyles();<br />
Application.SetCompatibleTextRenderingDefault(false);<br />
CreateForm(true);<br />
Application.Run();<br />
}<br />
<br />
public static void CreateForm(bool blIsClosing)<br />
{<br />
frmMain frmFace = new frmMain();<br />
<br />
if (blIsClosing == true)<br />
{<br />
frmFace.Close()<br />
}<br />
}
So, my question is, from the form that I have created, how can I close it. I can call theFrm.Close(), and the form will dissapear, as well as my tray icon. But, the program is still running(as in Visual Studio still sees the form as running) How Can I close the form, and actually kill the process from the form that I have created?
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Use
Application.Run(new frmMain());
instead of a CreateForm method. Handle the Load event of your form to perform some start-up procedures.
Greetings - Gajatko
Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
|
|
|
|
|
Application.Run() starts a message loop without a form. The application will not quit until you make a call to Application.Exit() . I am not sure what you are trying to accomplish and why you just didn't call Application.Run([MainWindowGoesHere]) . If you are trying to create a tray-based application, you may want to create a main window that is always invisible and control the application from there.
|
|
|
|
|
I want hide or disable MyComputer or drives of the computer so that, after restarting the computer , MyComputer or drives is restored to normal state (visible/enable)
can any body help me?
H.R
|
|
|
|
|
This is usual done through a domain policy, not sure it if be done on non domain machines and better answers will be found in Tech net.
|
|
|
|
|
I have 2 forms. On Form1 I have two listboxes. I want to allow the user to edit items in either listboxes by the use of two edit buttons (associated with 1 listbox each). When an item in listbox1 is selected then no items in listbox2 are selected (and vic versa). So when the first edit button is clicked to edit the selected item in listbox2, form2 is shown with a textbox. In this textbox is the text of the selected item. This should work the same for the second edit button but the selected item in listbox2 should be shown in the textbox on form2. To do this I have created two public strings and two public bools in form1:
public string item1
{
get { return listBox1.SelectedItem.ToString(); }
}
public bool selectedItem1
{
get { return Convert.ToBoolean(listBox1.SelectedIndex) == true; }
}
public string item2
{
get { return listBox2.SelectedItem.ToString(); }
}
public bool selectedItem2
{
get { return Convert.ToBoolean(listBox2.SelectedIndex) == true; }
}
In form2's load event I have the following if statement to check if listbox1 has a selected item or if listbox2 has a selected item:
if (Form1.selectedItem1 == true)
{
textBox1.Text = Form1.item1;
}
else if (Form1.selectedItem2 == true)
{
textBox1.Text = Form1.item2;
}
I have used a break point to follow this if statement and it seems as though it is not checking which listbox has an item selected.
Can anyone help please? How can I check which listbox has a selected item. Or can I turn this code into a public bool variable?:
if (listBox1.SelectedIndex >= 0)
Lucy
|
|
|
|
|
Hi,
are the listbox items selected when the form loads?
what happens when the selection changes after form load?
My view (assuming you can select at most one item per listbox):
- add OnSelectedIndexChanged event handlers;
- do all your related stuff in there;
- don't be surprised if OnSelectedIndexChanged also fires when an item gets unselected;
- there is no need for separate variables such as selectedItem1, adding them increases
the chance your object state becomes inconsistent, and that would make debugging much
more complex.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Thank you for your comment.
Form2 can only load when a listbox item is selected. I already have a SelectedIndexChanged event for each listbox that has an if statement similar to this:
if (listBox1.SelectedIndex >= 0)
{
buttonEdit1.Enabled = true;
listBox2.SelectedIndex = -1;
}
else
{
buttonEdit1.Enabled = false;
}
Lucy
|
|
|
|
|
list box has event that its name is
"SelectedIndexChanged"
you can work with it .
bye
ali sardar
|
|
|
|
|
Lucy_H85 wrote: To do this I have created two public strings and two public bools in form1:
Lucy, have you heard about Object Oriented Design? Software Design Patterns?
Here is one that pertains to your post[^]
|
|
|
|