François Paradis's Q&A profile
Visual Studio Express Editions Trouble with compiling simple C# script
Hi I am a beginner trying to compile a simple C# hello world script using a command prompt. I am unsure how to do this but have tried typing run then cs.exe or cs and the error comes up - 'cs.exe is not recognised as an internal or external command.' I have also browsed to the .NET Framework in Windows and tried to run this file which opens for a split second then closes. Can anyone explain what I am doing wrong I am running Windows XP SP 2 and Visual Studio 2005 Express Edition Many thanks for any pointers E ah! VWD 2005 is an ASP.NET development tool which I believe you design websites with and code with VB.NET/C# (Depending on what you have installed I believe) now, if you want ...Show All
Visual Studio Tools for Office Legacy Forms and VSTO 2005 SE Addin Connectivity
I am trying to convert a VSTO/Outlook2003 addin that uses custom forms to run under VSTOSE/Outlook2007 with the minimum of rewrite possible. I have got to the point where the majority of the addin code is happy with the change to the template BUT I have hit (what seems to be a perennial) problem with accessing the Addin from VBScript in the custom form. I had been using the workaround recommended for Outlook2003 whereby I create an instance of an "automationobject" within the addin and then applicationObject.COMAddIns.Item("OutlookAddIn1").Object = New AutomationObject(Me.Application) I could then reference this object from vbscript using Set myobj = Application.COMAddIns.item("OutlookAddIn1").Obje ...Show All
Visual C# Program Crashes.
I have been creating this program for a while now.. its a program that scans my works network IP's to see there hostnames.. and remove ip addr that does not have any host names.. but the program keeps crashing... The program crashes when I enter an IP address that does not have a hostname.. Can someone point me on the right direction Also.. Please forgive the way I coded it... I'm still learning.. and I'm still reading tutorials on a daily basis. Anyways.. I added the codes in a pastebin.. also any recommendations on the program would be helpfull. here is the link to the codes... http://pastebin.com/823524 P.S: Unless you want me to post it here.. I will. hm thats weird.. I dont see were I set the chk array to 10... this ...Show All
Visual Studio Team System Does Visual Studio 2005 Service Pack 1 work for popup messages?
Hi, Does Visual Studio 2005 Service Pack 1 work for popup messages Popup messages are not recognized by Visual Studio 2005 while creating the web test. While running the web test popup messages are not recognized. Does Visual Studio 2005 Service Pack 1 work for popup messages Has anybody else tried this Does it work Are you talking about recording requests sent from popup windows Are you popup windows created with ShowModalDialog or ShowModelessDialog If so, then SP1 will still not record this requests. You can use a tool called fiddler that should record these requests and this tool has an option for saving the fiddler session as a VS webtest file. You can get this tool at www.fiddlertool.com ...Show All
Visual Studio Express Editions Binary multi Array
I have a binary file created in VB6. One of the headers is an array - Aname(26,10,10,10) - I can't get VB2005's FILEGET or FILEGETOBJECT or a BinaryReader to fill the array. What do I do The array is a structure ( Type in VB6). dim structure as hType twords as short blocks as byte offset as short length as integer end structure array(26,10,10,10) as htype and wrttten to the file in VB6 as integers & byte The program in VB6 take about 4 minutes to create the file - - VB2005 translation takes 1 hour and 5 minutes. Can't read correctly!!! Mosslake ...Show All
SQL Server sqlcmd - empty serverlist
At the end of my rope here ... I was using SQL Express 2005 without trouble, until one day I couldn't access my database. I spent a day hunting down the issue without success. I uninstalled and reinstalled SQL Server many times, each time hoping it would somehow help ... I can access SQL Server just fine through SQL Server Management Studio Express. I can get in by typing "sqlcmd -S {my machine name}\SQLEXPRESS". However, I am working on a FoxPro application, and I cannot connect using FoxPro. It doesn't even seem to recognize the existence of SQL Server on the machine. Also, when I log in using sqlcmd, and type ":serverlist", I would expect my SQLEXPRESS instance to show up. It doesn't - the list of servers is empty ...Show All
Visual Studio Express Editions nooobi
hi , i'm new to c# just moved from java ,what is c#'s equivalent to java's URLREADER (the class that enables me to grab a remote webpage from within the applet) thanks in advance no in c# i just used remote to emphasis the fact that i'm trying to grab it from my desktop applet and not by actualy going to address with a browser ... ...Show All
Visual Studio Team System Help needed!!!
Hi Guys I have visual studio team edition loaded on my machine and two other developers working on a project with me.I need a way we can share the code and look at what the other developers have done. This will be help us better write the program we developing. Any suggestions to any software or ways to do this is appreciated. Thanks Ashish Are you using Team Foundation Server Basically you would put the code in a source control repository and allow the other devs to access the code so you are all working on the same code base. TFS has the built-in Source Control repository and works with Team System. Devs then can check-in/checkout code from the repository. -paul ...Show All
Visual Studio Team System Team Foundation Server SP1 TF31001 HTTP Status 403: Forbidden
I installed Team Foundation Server SP1 on my server. I had to first install the KB919156 patch. I installed the Visual Studio 2005 SP1 which installs the Team Explorer SP1 on my workstation. I can not connect to the TF Server now from either the the Team Explorer SP1 machine or from machines without the SP1. The following error message is returned. "TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server tfstest. The Team Foundation Server returned the following error: The request failed with HTTP status 403: Forbidden.." I saw that someone else had the same problem, but that post was in a chain of posts in the SQL Server forum that seamed to start with issues pertain ...Show All
Visual Studio Express Editions Can Somebody help me Please!
Hi , I have an application written using Visual Basic, which uses Crystal Report 8.5 for generating reports and Sql Server at the back end. I have installed the application on client systems. The Client system uses NPViewer for displaying Crystal Report. Applications displays the reports just fine. But the problem is Export option [I can see the Button] on the NPViewer is not working. Nothing will happen if I clicked on the Export Button. The client machine uses Windows XP. Is it because of any missing DLL or what. can some body please help me out Thanks in advance.. Hi, No the Export Button is not getting enabled even after opening a report. I suppose it's because of some missing dll, but don't know ...Show All
Visual Basic Missing Datagrid property unavailable even after installation of VS 2005 Service Pack1
Hi, I was facing an issue with tablestyle property of datagrid as it was missing in VS 2005 version so i found that it has been fixed in Service Pack 1 .I installed service pack 1 successfully and rebuilt my code as per the info given on Microsoft site. But the issue still persists and i am stilling not seeing the property for the datagrid. I am stuck with this for the last one month. Kindly help me. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple BlackJack game in XNA (zipped up project files)
Hey all, just been trying to learn GSE, and I made a VERY basic BlackJack game, which hopefully may help someone else get started. I tried to comment the code, and I know there's a LOT of room for improvement. Input on how to make some of my classes more generic (maybe even make the components) would be appreciated. Such as: Card class (uses tiles in a texture to build the card, so each face value and suite symbol is listed in the texture) Deck class (actually a class to hold a deck and several hands or piles of cards) BMPFont class (a very rough and dirty, but functional tile based rendering engine) You can get it here: http://www.preik.net/xna/cardgame.html WQP wrote: Hey all, just been trying to ...Show All
Visual Studio Express Editions Disable keyboard input
Hi all Is there a way to disable SPACE when the focus is on a button so it does not actiavte it even when space is pressed Also is there a way to disable the arrows keys so that it does not affect the tabcontrol when i press left/right key Thankz Hi, Anthery About first question: press space key on button will raise the click event of it. This function is designed in ButtonBase class which Button derived from. In ButtonBase class there is method to process the keydown event. Here it is: protected override void OnKeyDown ( KeyEventArgs kevent) { if ( kevent . KeyData == Keys . Space ) { ... } base . OnKeyDown ( kevent ); } Solution: Make a ...Show All
Windows Forms bindingcontext.addnew then set combo.selectedindex will not work
I have a form that is used to enter data. One of the controls is a combobox using complex binding. I have a button that calls a bindingcontext.addnew. After this call I can not set the combobox no matter what I've tried. I've tried selecteditem, selectedindex, text, selectedtext, ect... I've tried getting a datarowview from the bindingcontext.current. This will allow me to set the value in the table, but that value is not displayed in the combobox unless I end the edit. I don't want to end the edit because I want them to be able to change their mind and cancel the new record. This is the binding for the combobox: Me .cboCompletedBy.DataBindings.Add( New System.Windows.Forms.Binding("SelectedValue", Me .DSnonconforming1, & ...Show All
Software Development for Windows Vista Determine correct activity instance during Activity Tracking
I have written a custom persistence and tracking service. When I track that a new activity instance has been initialized, I write a new record a database. What I want to do is add the record ID as User Data to the activity so it can be used during processing. I know the root activity, the context guid and the qualified name for the current activity. But how do I use this information to get the correct activity instance Any help would be greatly appreciated. Thanks Nate Local service is the right way to get data into the workflow. EventHandlers can be used to handle an event raised on the local service, and put into the right place of the workflow. Local service events can be raised from tra ...Show All
