Spicer650's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Kudos to Microsoft!
Hate to do a little fanboyism here, but I was so impressed with how painless this whole setup was. I set up the X360 connection to GSE in under ten minutes, tested Spacewar successfully, downloaded the Dual X360/Windows template, copied all of the classes for my current Windows project into it and ran it successfully on the first try, first x86 then X360. I was thinking I'd be spending all day tomorrow getting to the point that it only took me about twenty minutes to get to. Yep, you missed one ;) here it is: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1066409&SiteID=1 . Direct link to the template site ...Show All
Visual C++ Transparent Splash Screen ?
Hi there, how ist it possible to create Splash Screens like this I mean the transparency in the picture. (red color) And what is the best kind of file to make this GIF No, it doesent support partitial transparency... This question falls outside the scope of this forum, which covers C++ language issues only. Direct further threads on the same subject to the UI newsgroup at http://msdn.microsoft.com/newsgroups . ...Show All
Visual Studio Express Editions about count?
hi there how do we use or execute a command in label which you can count the number of output.... for example "Select count(*) from user" (number in query in a datagrid) and the output must be seen in textbox or label... thx in advance one option is to put 'Rizal', 'Batangas', 'Cainta', 'Manila' ,etc. into an array...then make a loop to save you from typing those commands 50 times.... for i=0 to 49 dim sqlcommand as new oledb.oledbcommand("select count(*) from table1 where Area = ' " & array[ i ] & " '", connectionstring) 'the rest of your code in here next i know there are other options you can do.... this is just one of them.... ...Show All
Visual Studio Help Critical issue w/ Remote debugging on Vista!!
Ok, here is my situation. I have remote debugging working w/ windows vista (using vs2k5 and vs2k3 sp1). However the software i am working on controls a wifi card and creates a connection with it (using the the new MS wlanapi). But whenever i make the connection w/ the wifi card it kills the connection for my remote debugger. The app will freeze and the visual studio will sometimes freeze w/it. Requiring me to restart visual studio. It is a native c++ app and I am using tcpip w/o authentication. I am running the code over the network. This also happens when i use pipe mode on vs2k3 aswell. Furthermore this also happens if i make the connection outside of my software aswell (using windows gui). In addition i also noticed that occasio ...Show All
Visual Studio 2008 (Pre-release) Specifying config file to use at runtime in WCF client
Hi, Is there any way of specifying at run time, the path/filename of client config file to use in WCF client proxy Here is my use case: I have a client that uses the generated client side proxy (proxy.dll). The generated proxy/config file are in a different location than the client process. We need to load the generated proxy using reflection (using LoadFrom) and invoke the service. When I try loading the client proxy and create an instance using reflection, I get an exception “ Could not find default endpoint element that references contract 'Foobar' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matc ...Show All
Windows Forms UserControl doesn't update
I found that if you modify a user control constructor then a usercontrol used before this modification won't be affected by those modification. Here what i did: 1.I create a new windows form project. 2.In this project I create a second windows form project where i add a user control. The second project is built before the first project. 3.In the first project toolbox i add an item from the second project debug "exe" folder (to add the usercontrol i have just created) 4.I add the new usercontrol to the windows form of the first project On execution evething works fine 5.I modify the usercontrol constructer .Now It backColor is Wheat and almost half transparent public processusButton() { InitializeComponent(); t ...Show All
Visual Studio Team System file check in bug!!
hi, i often work with multiple IDE's open to work on projects separately. today, in one IDE i checked out files and modified them. later, i opened another IDE, checked out files and edited those as well. both IDE's were using the same workspace, to my surprise neither IDE showed all the files checked out (i assumed they would). i closed the second IDE leaving those files checked out. after more modifications with the first set of files in the first IDE i finally checked those in. now, i launched a third instance of the IDE (still, only two running now) to return work on the second set of files. to my amazement, those files did not appear in my "pending changes" list. searching for those files showed them to be checked in with th ...Show All
.NET Development How to call a static function automatically?
Hi, I have seen this before in a reference book, but now I can't find the syntax again, I have searched the forums and the web to no avail... How can I automatically call a static function What I mean is this: class foo { static Bar(); } How can I have Bar() called automatically I can rig it like this: class foo { static bool tmp = Bar(); static bool Bar(); } How can I accomplish this without this 'hack' Also, could someone please fill me in on when exactly this function is called Is it non-determinable like initializing a static variable in C++ Thanks A static constructor is wha ...Show All
Visual Studio Team System Publishing Load test results
simple question: when I select the Publish Test Results button in the test results window, I receive a message saying: "The current team project does not a have any build. A build is required in order to publish test results" While I understand the statement, I have no idea what to do. Please advise. thanks I have Visual Studio Team Suite with: Team Explorer Team Edition for Devs Team Edition for Software Testers. I'm aware of the requirements for publishing test results. I am simply asking what I need to do to address this error: "The current team project does not a have any build. A build is required in order to publish test results" When I select the P ...Show All
Visual Basic Cross-Threaded ComboBox???
Alrighty... I feel like I am losing my mind. I have programmed in VBA for over a decade. Custom Access Apps, Word Code, etc... I am switching over to VB.Net on some work projects, and I am hitting the WEIRDEST brick wall I have ever hit. In my MAIN FORM... I have a combobox called cmb_References All I want to do is ADD and CLEAR items from this combobox... but I can't ! I keep getting some error saying: System.InvalidOperationException was caught Message="Cross-thread operation not valid: Control 'cmb_References' accessed from a thread other than the thread it was created on." Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.Control.get_Handle() at System.Windows.Forms.Control.Se ...Show All
Visual Basic quotes inside of a string variable
how can I add qoutation marks inside a string for example dim text as string text = "I would like to qoute the next word "like" this" is this possible how do I go about doing it try: text = "I would like to quote the next word " & chr(34) & "like" & chr(34) & " this." the chr(34) is the double quote, i had problems with the "" jazz ...Show All
Smart Device Development Access command prompt in the emulator
Can any way we can go to the command prompt in the emulator. I want's to start one service using services.exe on the command prompt Sorry sorry. You need to make a call to ActivateService to load a service into services.exe. You can't load the process directly by calling the above code. Try looking here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50lrfactivateservice.asp Looks like this is a C++ call so you will have to use DLLImport to use it. You should also note that WM 5.0 Smartphones have heavy restrictions regarding services.exe. You will probably need a priveledged certificate unless you are running on an open device. You can get priviledged certificates by entering the Mobile ...Show All
Windows Forms Problems binding to datagridview
Hi, i'm trying to pick up windows forms coming from an asp.net background. I have successfully used the datagridview. The problem i have is that i wish to modify the columns displayed (and have some template ones). In asp.net this can simply be done by modifying the html however with my windows form, from what i gather i have to modify the control in the code file. However I don't know where to begin with this. Appreciate if someone could point me in the right direction. Thanks ...Show All
SQL Server Cube action calling a stored procedure in AS2000
Hi, I know a cube action can call a reporting services report thru an action, I would like to know if it is posible to launch a stored procedure thru an action , if so what would be the best approach Thank you U Just to be clear (I've only realised that you're talking about AS2K in this thread, and so not AS2005 sprocs) - you're talking about a SQL Server sproc here, aren't you What I would do is create a small ASP.Net app which kicks off this sproc, which you can pass parameters (like a member uniquename or something) to from through the url. You'd then create a url action in your cube to generate the appropriate url based on what the user clicked; after they'd done so they would see a web page open informing them ...Show All
SQL Server Backward Compatibility Upgrade failed on Service Pack 1 for SQL Server 2005
Not sure if this gets fixed on a restart, but the Backward Compatibility upgrade/piece failed on service pack 1 install for SQL Server 2005. Here is the log output. Anyone experience this 05/19/2006 08:58:27.648 ================================================================================ 05/19/2006 08:58:27.648 Hotfix package launched 05/19/2006 09:00:04.368 Attempting to install instance: SQL Server Native Client 05/19/2006 09:00:04.383 Attempting to install target: CLARITY 05/19/2006 09:00:04.383 Attempting to install file: sqlncli.msi 05/19/2006 09:00:04.399 Attempting to install file: \\<server>\s$\917f50731dade382ab1b\HotFixSqlncli\Files\sqlncli.msi 05/19/2006 09:00:04.399 Creating MSI install log file at: C:\WINDOWS\ ...Show All
