Chris Marts's Q&A profile
Visual Studio Express Editions Tell Us Your Express Story and Win $100!
Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx One of my daily chores is typing up invoices and entering timesheets into a very dated MS Access DB, Id always been interested in programming but never got any good at it with the complexity and lack of time to study, But then I found VB Express and I watched the video series for begginers and a month or so later I have nearl ...Show All
SQL Server Color spreading in Excel
Hi Every body, I do have a problem in an Excel.my report contains a matrix .For this matrix as i want column headers for Row Group headers also,i placed rectangle in that i placed 5 text boxes where i aligned perfectly to appear as Column header.the matrix is aligned extreme left to the report.Every thing went fine but when i Exported to Excel,the color in the text box is spreading out to other cells which are empty making Excel Completely disturbed by the color. I observed when i moved a little bit right with Ctrl +Right button.it is solved .but in excel it is taking Extra Column ,How can i solve this Ex Sno Date Elapsed time An ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GSE and Vista
So I heard on letskilldave (and the FAQ mentions it too) that there will be no Vista support for awhile, but I was really curious as to what the policy of GSE on Vista was. Is there some technical reason that it will not run, or is it something discouraged due to lack of testing e.g., will I be able to convince it to run by fooling/mangling the installer, or will it explode when I try to do anything with it Having just installed Vista 5536 on my best machine (the one sitting next to my 360 and the one with a new video card) and loving it, I don't think I could stand switching back to XP. I also need to do some ‘real’ dev under Vista, so that makes things difficult too ;( Thanks for any info anyone knowledgeable can ...Show All
.NET Development How to change the application priority
Hello, i would like to change my app (main thread) priority. So i tried to: System.Threading. Thread .CurrentThread.Priority = System.Threading. ThreadPriority .AboveNormal; However if i run Task Manager, with priorities listed, no change is visible (priority remains normal). What am i doing wrong, please Thank you. Hmmm, I'm not sure but I dont think so that even a single threaded application has only one thread. Sorry I really dont have any precise information to tell you. You may consult some book I think I have read someever evry .Net application has 2-3 threads depending on version of .Net framework. You have to dig it up and please let me know if you are succesful to find it. ...Show All
SQL Server three tables, 2 field combines and a left join
Hi people, I have three tables, paths, files, mp3data. i need to combine two fields from paths and files on the path_id field that exists in both files and paths tables. select files.file_id, paths.path +'\'+ files.filename as FilesTBL from paths, files where paths.path_id = files.path_id then i need to do a left join to the mp3data table using file_id from the results of the first query above to find the paths that does not have data in the mp3data table. i have this query that works using the files table and the mp3data table. SELECT files.file_id, filename FROM files left join mp3data on mp3data.file_id = files.file_id where (mp3data.file_id is null) but i can not get this to work using the results of the first sql query above. ...Show All
.NET Development NoNullAllowedException on an Identity column in SQL
Hi I have created an SQL database with two columns the first is an identity. When I try inserting a new row I get a NoNullAllowedException on the identity column. DataRow newRow; newRow = infoDataSet.infoTable.NewRow(); //newRow[0] = [int]; as an identity column I am hoping this is autogenerated newRow[1] = "Any Text"; infoDataSet.infoTable.Rows.Add(newRow); // NoNullAllowedException occurs here! infoTableAdapter.Update(infoDataSet.infoTable); Any help appreciated - cheers In Visual Studio (C#) I have set the identity property for the first column as Identity Specification - Yes (Is Identity) - Yes Identity Increment - 1 Identity Seed - 1 So I am assuming t ...Show All
.NET Development https server requesting a certificate
i manually go to a website and login, at first it had me set up a certificate, now it just asks me for my password. i want to run my app so that it starts iexplorer goes to that page sends a certificate info to the https server and sends my password so that i dont have to manually enter it. i am not really sure how to connect to the https server and send it my certificatio info and when its accepted how to send it my password. any ideas on how this might be accomplised what objects should i be looking at under Framework 2 >Are you writing a .NET client that talks directly to the service, with no browser involved at any stage this is what i would like to accomplish, not sure how or where to get s ...Show All
Architecture Simple Class question regarding hierarchies or Parent Child relationships.
I'm not sure this is the correct forum but I would like to model a library of books and I'm stuck on a key concept of OOP. The library would contain one or more book types like "fiction" or "reference". The book types would contain one or more books like "Gone With the Wind" or "VB Classes in 21 Minutes" :) Each book would contain one or more "pages". I have created a class for each object seperately but how do I model the fact that a book contains pages, a type contains books which contain pages, and a library contains types which contain books which contain pages At first I created a parent container (ArrayList) for each class that contained the child objects but that seems akw ...Show All
Visual Studio Missing Buttons on the Debug Toolbar
I am running Visual Studio 2005 (I have included the information from the Help | About dialog below so that you can see exactly what version I am running). My problem is this: I have turned on the "Debug" toolbar, but the only debug step control button that appears is the Step Over button. The Step In and Step Out buttons do not appear. Other developers in my office have all 3 of those buttons on the Debug toolbar, but for some reason I don't. I'm on a new PC, but I know that in the past I've had all 3 of those buttons, because I use them a lot! It's hard to use the debugger when you can't easily step into code to debug it! How can I get those buttons back If this is not the correct forum for this question, please let me know ...Show All
Smart Device Development Device Emulator shows only a few machines
Hi, After a few problems with my computer I did start again from scratch. Installing Win XP then updating, then VS 2005 standard. Once installed the only machines shown by Device Emulator were the correspondents for PPC 2003, Smartphone 2003 and Windows CE 5.0 (and Others, of course). Then downloaded/installed VMND, MS Device Emulator 2.0 Preview (registering it after installation) followed by the package with the Images for WM 5 machines. Tried to open as standalone or from VS 2005 results were the same. I checked the version was the new one I installed (8.0.60317.00) but it only offered the same machines were installed with VS 2005 even after Refresh button was clicked. But if I click the icon for the images installed (Col ...Show All
Visual Studio Express Editions Create a Shortcut on Desktop "VBExpress"
Hi I wont to do one thing. When I'm clicking on the button that must send shortcut of current application to the Desktop. How can i do this Thank you need to use IWSH interface/COM I believe. try this: Add a reference to the Windows Script Host Object Model (COM component) add the imports statement: imports IWshRuntimeLibrary on the click of a button...try this: Dim theShellClass as new IWshShell_Class() Dim theShortCut as new IWshShortcut_Class() theShortCut = theShellClass.CreateShortcut("MyApp.lnk") theShortCut.Description = "Description here" theShortCut.TargetPath = Application.StartupPath + "\MyFile.exe" theShortCut.Save() & ...Show All
Visual Studio Tools for Office Detecting if a UDF is invoked from a Function Wizard
I've written a C# automation AddIn whose public functions can be used in Excel formulas. However, I need to guard against invoking these functions from within the Function Wizard (these AddIn functions actually connect to a remote server). Is there a direct way to know if an AddIn function (written in C#) was invoked from the function wizard One way I'm considering is enumerating the Excel app windows with EnumWindows to see if one of them is the function wizard. Any other more direct ways Thanks Yazan D. Hi, If You declare the functions as private they will not be viewed in the Function Wizard but they still can be used as UDFs. Is this a workable solution for You ...Show All
Visual Studio Team System How to migrate a TeamProject for .NET 2.0 to .NET 3.0 ?
Hello! I have a TeamProject that has been created with VS 2005 and .NET 2.0. If I install now the .NET 3.0 extensions for VS 2005, will it be possible to use the .NET 3.0 features like WCF And after installing .NET 3.0 extensions will the TeamProject automatically become a .NET 3.0 application Or do I have to install the .NET 3.0 extensions for VS 2005 ***BEFORE*** I create the TeamProject in order to use WCF Best regards CSharpNewbie22 The Team Project in TFS has does not really have much to do with the implementation technology. You can (for example) perfectly easily manage a .NET 1.1, .NET 2.0, .NET 3.0 or even a Java, Python, Ruby etc project inside a team project (or indeed all of them ins ...Show All
SQL Server SQL Express does not allow remote connection within VB.Net Express
I am new to VB.Net coming from a VB6 background using the VB.Net Express and have even loaded the SQL Express. The learning curve is not to bad until you get to dealing with connecting to db's. However, in trying to fill a grid with data, manipulate it and then update it has not been any fun either. There does not seem to be enough information out there dealing with these two as of right now. Anyway, trying to add a datasource connection for a grid has resulted in a real problem even using the connection wizard. I keep getting the same error that the default settings for SQL express does not allow remote connections. However, I thought that I have corrected that. Unfortunately, with VB express I cannot even seem to talk to my SQL 2000 ser ...Show All
Visual Studio Auto Add Child Elements
Hi, In my DSL I have an entity called "Component" which has two childs "Implementation" and "Contract". I created a domain class and a shape for each of these logical entities and a tool for adding a Component. I now want to have 'Contract' and 'Implementation' added automatically each time I drag&drop a 'Component'. I tried to create them by overwritting the Component constructor, unfortunatly this causes side effectes and the childs are created several times. Furthermore it would be cool to have them positioned right beyond the parent (component). Can anybody give me a hint on this thx alot cheerio Silvan Hi SilvanG, If you're only creating your Components from the ...Show All
