h1's Q&A profile
Smart Device Development Compact framework 1.1
Hi, I'm trying to spin off a new process by doing something like this: ProcessStartInfo s = new ProcessStartInfo(ExeName); s.Arguements = CmdLine; Process.Start(s); I have included the proper using directives that msdn said, and the types are fine in a windows enviroment, but when I use it on Compact Framework 1.1 it isn't recognized, is there something similar I can use to create a new thread, I cannot update this device to CF 2.0 Process does not exist in .NET CF 1.0 as for the error on not finding the module, could be because the exefilename/path is incorrect. are you able to post the code you used to PInvoke (which you have), including the method you call it giving it the arguments/parameters ...Show All
Game Technologies: DirectX, XNA, XACT, etc. About 3D moudle
now, help me !! why my demos can not show mesh!! You *really* need to give us more information. What are you trying to do, how are you doing it, what are you seeing. DO you get any errors Have you followed the tutorials in the help file Does SpaceWars run correctly ...Show All
Windows Forms Very Dangerous message
Dear all After I finished my Financial project by using VB2005.net and SQL SERVER 2005 and made publish for this project ,After that I Installed this project on my computer and when I open some reports from this project appeared this message below "Financial Project has encountered a problem and needs to close. we are sorry for the inconvenience If you were in the middle of smothing, the information you were working on might be lost " This message appeared alone in reports viewer and in this case I need to close the program How I can solve this problem I'm sorry, I'm a bit stuck now. Does it look like the exception is coming from your application, or something else, outside your app.. ...Show All
Internet Explorer Development IE7 and desktop icons
I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. The issue is not the favicon. In my case it is for a shortcut to a webpage that has been placed on the desktop. I have several web based applications that I had c ...Show All
Visual Studio Express Editions Save Word doc?
Is it possible to save a word document I can open a word document but how do I then save it as a word document after I have altered it Had a look at the help files, I have now made a reference to the word object library. My code now looks like this Dim doc As Word.Document = CType( Application.Documents (currentFile), Word.Document) Dim strExt As String strExt = System.IO.Path.GetExtension(currentFile) strExt = strExt.ToUpper() Select Case strExt Case ".RTF" rtbText.SaveFile(currentFile, RichTextBoxStreamType.RichText) Case ".DOC" Me.Application . Documents(currentFile).Save() I get squiggleys where I've underlined, with the message ...Show All
SQL Server Selecting varchar(MAX)
Hi, Hope I'm in the right forum. Is there some sort of trick to being able to see all the data in a varchar(MAX) column I'm inserting some lengthy data into varchar(MAX) columns. Running the profiler, I can see that long strings are being passed in. But, when I query (to grid, text or file), I only see the very first character. In addition, when I do a SELECT LEN(myVarcharMaxColumn), it returns 1. What am I missing here Thanks, Mike hi, as you can see by the following code, which is quite similar to your declaration, DECLARE @v varchar; SET @v = 'abcdefg'; SELECT @v; a varchar variable declared this way is defined to be 1 byte as no dimension has been specified.. you usually ...Show All
Audio and Video Development Mouse Pointer not working for all Buttons
I've got a menu page that has two groups of buttons. Once group you can mouse on and click, the other set is not being activated by the mouse. Any ideas on why the mouse would not be recognized by certain groups of buttons Mouse support isn't very well baked in HDiSim, mostly because it's not really usable on the set-top box players at the moment. Software playback on a PC using software from another vendor may work better with the mouse. One thing to note -- you need to set curser.enabled = true (or something like that -- at home right now) in order to have the mouse work. I think you get to it by enumerating devices via ControllerManager and seeing which ones support the cursor. As for why it isn't working (other than bugs).. ...Show All
.NET Development get global ip
hello how can i get my global (internet) ip address now it is 192.168.1.12 but internet ip is 85.xx.xx.xx. I want to get the internet ip in c#. how is this possible thanks ...Show All
SQL Server SSIS Package will not execute when DontSaveSensitive protection level is selected
Hi, Can anyone explain to me why my ssis packages will not work when DontSaveSensitive protection level is selected My package configurations are set as SQL server configuration type, and I have a table in a database that contains all the sensitive information (passwords and such). If I select "EncryptSensitiveWithUserKey" everything works, but I will be the only one able to execute the packages (not good, I need others to be able to execute them as well). The error I'm getting tells me that the connection is not configured correctly or I may not have the right permissions on the connection. My guess is that the DontSaveSensitive drops the passwords, but when I edit the data source and re-enter the password, it still do ...Show All
Visual Studio 2008 (Pre-release) Unable to access service witn x509 certificate from client apps
Hi I am using X509 Certificates and wanted no validation to be done for the certificate on Trusted People store .So I have created the custom serivce host with a certificateValidation Mode as PeerOrTrustChain as follows. public class CustomServiceHost:System.ServiceModel.ServiceHost { public CustomServiceHost(Type serviceType, params Uri[] baseAddresses) : base(serviceType, baseAddresses) { } protected override void ApplyConfiguration() { base.ApplyConfiguration(); this.Credentials.IssuedTokenAuthentication.CertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; } } This code works fine while hosting the service in console application.But while trying to access this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HUD help: sprites drawing behind world
I want the first screen of my game to consist of something similar to the intro of Valve's HL2 - a 2d menu drawn on a 3d background. I'm seeing my menu sprites and my world geometry, but my sprites are being drawn behind my models. I have my sprite drawing handled all within one object, called GameScreenManager. My 3d objects are all drawn within a GameLevel object. Both objects are extensions of DrawableGameComponent, and these components are both added to the Game class object. Inside the constructor of my Game object, I have set the following: gameLevel.DrawOrder = 2; screenManager.DrawOrder = 1; which, according to the hints, should cause the graphicsDevice to render the 3d stuff first and the 2d stuff second. All of my sprites have ...Show All
Visual Studio Tools for Office Ok... resolution...
Hi. I've been developing Office solutions int .Net for about a year now. My company had some proprietary code that was letting us place user controls in Word (Document Map) but it's time to phase that hack out with Office 2007 coming. So I downloaded VSTO (the version currently distributed) and installed it. Then I started looking around for code samples how to attach a custom Actions Pane. It appears that if I start an Word 2007 project in VS2005 there is ActionsPane but if the project is for Word 2003 - there is no such property and no obvious way of getting a public property that would do. I'm not sure if I'm doing something incorrectly and it seems more and more frustrating after 3 days of digging around. After initial atte ...Show All
Windows Live Developer Forums Assigning resources to a project
I have a project set up on MS Project containing several different tasks and I have set up the list of resources and their availability etc. I now want to assign all my resources to all my tasks but rather than assign one to one, I want to simply assign the resources randomly across the tasks. The only requiement is that resources aren't assigned to a task when that resource is on holdiays etc. Is this possible in MS Project Thanks in advance for any information. This forum is for questions and discussions relating to common aspects of developing with Windows Live components. ...Show All
.NET Development How to retrieve an unhandled exception while building a custom "fault" SoapHeader
Hi, I am implementing methods to process the Soap Headers of our webservices. In the method processing the Fault Soap Header on the server side, I do not know how to retrieve the unhandled exception that I have to serialized... Here is my Stub (to illustrate my problem). It inherits from a base class (MyBaseWebServiceStub) that implements the methods processing the Soap Headers. A method "RequestValue" reads the Soap Header received from the client A method "ResponseValue" writes the Soap Header sent back to the client In the method "FaultValue", I intend to customize the serialization of any unhandled exception. Public Class MyWebServiceStub Inherits MyBaseWebServiceStub Private mServiceFacade As Contract ...Show All
Visual Studio Express Editions Drilldown comboboxes
Hi, Please can someone point me to a C#2005e solution for access-style cascading comboboxes where users drilldown their selection to find what they want. eg: Combo1 : Country -> Combo2: State -> Combo3: City An example is found here : http://www.candace-tripp.com/download/2table_cascadecombo2k.zip or http://www.codeproject.com/cs/miscctrl/DrillDown.asp Thanks ! OK, I did not understand the difference between display member and value member. So I set the display member as Country and value member as CountryID. So cmbCountry.SelectedValue.ToString() will contain the countryID. Now I get it. I will keep trying and post back. Thanks for your patience. I am still having strange ...Show All
