Software Development Network Logo
  • Visual Studio
  • Visual Basic
  • .NET Development
  • SQL Server
  • Windows Vista
  • VS Team System
  • IE Development
  • SharePoint Products
  • Visual C#
  • Microsoft ISV
  • Game Technologies
  • Windows Forms
  • Smart Devicet
  • Visual FoxPro
  • Visual C++

Software Development Network >> Jason W158421's Q&A profile

Jason W158421

Member List

alexsk8
Bravo659
duduhe
PRMARJORAM
B M E
A.Russell
xird
Info_Peter
rb531
tass_flint
matthew lyden
Frankelman
Erik Bertrand
Brian Kramer
Nick_M123
A919
Dr. Zoop
Peer MD07
super_bly
bubberz
Only Title

Jason W158421's Q&A profile

  • Visual Studio 2008 (Pre-release) Problem getting started w/ WPF

    So I'm trying my hand at playing around a bit w/ WPF. I uninstalled the last WinFx 3.0 CTP I had installed, installed the new .NET Fx 3.0 June CTP and thought I'd try my hand at running the Cube Animation sample app. Following the instructions, the app built just fine using msbuild from the command prompt. When I attempted to open CubeAnimation.exe, nothing happens. I then tried opening CubeAnimation.xbap and was present w/ the error you'll find at the bottom of this post. I saw another post on here w/ a similar exception stating that before the Windows Image Component (WIC) also needed to be uninstalled so I followed this instrucutions (Uninstalled Fx 3.0 June CTP, ran the listed command to uninstall WIC, and then reinstalled Fx 3.0 ...Show All

  • Visual C# how can i change the string?

    hi all i'm coding an evaluator program.in these program i'm taking a equation with x parameter.the equation is str1 and the x parameter is ara.ara is char.the code is below.but i cant replace the x parameter with ara.where's the mistake while (index < str1.Length) { c = str1.Substring(index, 1); if (c== "x" ) { str1.Replace( 'x' ,ara); MessageBox .Show(str1); } index++; } Also, the rest of the code snippet (manually searching the string for an "X") is pointless. The replace it going to do it's own search (and not replace anything of no "x" is found). The entire thing can be replace with just str1 = str1.Replace("x", ar ...Show All

  • Gadgets Dynamically Populating ComboBox or Select Option

    Hi all, Is it possible to populate a ComboBox or Select element via script after the page has loaded I want to have a drop-down with a dynamic list of items in my settingsUI, but can't seem to add items or options to boxes. Also, I am trying to do this with vbscript. It would be best if I could repopulate the drop-down on drop-open (onbeforeactivate ), so that it was always up to date, but if there is a way to at least add a dynamic list once on or before load that would work too. I have tried various approaches to the Select element, mostly similar to the technique here: http://www.microsoft.com/technet/scriptcenter/resources/qanda/aug05/hey0815.mspx Like with the ComboBox below, scripts running in my Windows Sidebar gadget just quit w ...Show All

  • Software Development for Windows Vista Using smartcards in a service - SCardAccessStartedEvent

    Dear all, Migrating our core development platform to Windows Vista, one of our Windows services using smartcards is failing. We have debugged the problem and found that the event provided by the function ScardAccessStartedEvent does not receive notification. This event is supposed to signal when the SmartCard Resource Manager starts. As we have a WaitForSingleObject(event,INFINITE), the service hungs. Testing the same service as an ordinary executable ( registering with -regserver ) I can see it works properly. In XP it works properly both as an executable and service. I have read something about Service Hardening in Vista and I guess it may be caused by privilege reduction. So, I've created some code to enumerate the existing ...Show All

  • Visual Basic Wierd build error

    I created a single form called 'StartForm' and a Dialog form called 'CountDown'. After debuging it - I added a deployment project. At my first build - I get a compile error with my original program. I deleted the deployment project, but I still get the same error. Recreating on a new project and copying my code from the old file reproduces the error. In my project properties - The only start form I can select is "CountDown'. 'StartForm' is no longer recognised is a form. The compile error is - Error 1 'StartForm' is a type in 'SchoolBells' and cannot be used as an expression. C:\Documents and Settings\Dean\My Documents\Visual Studio 2005\Projects\School Bell\School Bell\My Project\Application.Designer.vb 35 27 The error in Ap ...Show All

  • Windows Forms Urgent... Stuck in iimplementation Custom Save File Dialog

    Hi All, I want to implement my own custom file save dialog. I have 2 options : 1) Use WinAPI and use GetSaveFileName API. 2) Inherit commondialog and make it according to requirement. I am using Windows API. GetSaveFileName. and implementing HookProc in that. I m getting every message in that. But I have problem in that. First problem is lparam value for particular event like folder up and back to folder is not constant. Second is even if I return nonzero value Folder doesn't ignore the message. actually it should according to documentation. Below is a sample code. public class DialogHelper { #region Private Variables public delegate int OFNHookProcDelegate( int hd ...Show All

  • Smart Device Development How to get a list of all categories

    Hi, I want to get a list of all Ctegories but cannot find anything about retrieving this infrormation. Has any one an Idea on how to do this in Pocket PC 2003 using POOM On WM2003 you would have to use the CEDB APIs directly. Open the object store volume and the database called "\Categories" then enumerate the rows present. On WM5.0 you can get them through POOM. Get the IItem interface for the required folder (e.g. Contacts) and get the PIMPR_FOLDER_CATEGORIES property. This will return a list of all the categories present for those items. Peter ...Show All

  • Visual C# How do I set an "Open with..." for my application?

    I created a small application to open a specific file type (.sfk).  How do I set my app as the default editor for that file type   I would like my app and the file to open when the file is double clicked in Explorer. StevoK   ps Can anyone point me to a more specific forum to post this in http://www.codeproject.com/csharp/dateparser.asp Take a look at this, it talks about shell registering ...Show All

  • Windows Forms Reference Files

    In my project I have to use set of reference files and they are not maintained by me. Before the release I take all the files from the share reference files and include them as data files. The group that maintains the reference files might add or remove files from this folder. So I end up adding all the files back as data reference every time before release. Is there a better approach to this [I thought about zip file concept so that I ask them to build me a zip file and I unzip and compare the dates... etc.,] There must be a better approach, any one run into this situation before Thanks in advance. ...Show All

  • Visual Studio 2008 (Pre-release) Not sure why this does not work

    I am somewhat new to WCF so please bear with me. Using the July CTP (i have downloaded the RC but not installed it yet), I built a service but did not get it to work the way i would have expected. I am sure i am missing something so any insight as to the "proper" way to do it would be greatly appreciated. I started by creating a ASP.NET Web service project and deleting the unnecessary files. I then added a class, added the appropriate references and added the necessary code to teh class and web.config. I then manually created a IIS Virtual directory and published the WCF service to that directory. Using IE, i hit the service which gave me the "you have created a service" page in order to test my service. I then us ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??

    im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All

  • SQL Server What is wrong with this connectionstring

    Dear readers, I have a .Net function witch gets data from a Cube. This function is called from a Report. when I preview my report from my computer it works fine. But when I deploy the report to the server on wich also the cube is processed I get the following error: Either the user, NL01\SRV03-GC-10$, does not have access to the Invoicing database, or the database does not exist. NL01\SRV03-GC-10$ is not a user in my system, so I'm stunned with this strange error. This is my connectionstring: string connstring = "PROVIDER=MSOLAP;DATA SOURCE=SRV03-GC-10;INITIAL CATALOG=Invoicing" ; I even replaced the servername( SRV03-GC-10 ) with localhost, but I stll get the same error. I would appriciate any reply on this. ...Show All

  • SQL Server No Management Studio in 2005 Enterprise Edition

    I have installed SQL Server 2005 Enterprise Edition Evaluation on my machine and Management Studio or Enterprise Manager is not present. Do i need to perform extra task or did i do sth wrong when installing this. Thanks for your attention. It's more likely that you did not install the client components When you setup program, at one stage wou have choice to check the components you want to install Client components are grouped under the name orf workstation or something similar (Sorry I don't remeber the exact name)) ...Show All

  • .NET Development C# need to decode mime (HTTP POSTed form data)

    Hi. I need to analise some files of loged HTTP outgoing transfer(POST method) and extract sended file content from them. Can anybody help with mime decoding I need to analise posted form data and extract all files. I know - http servers do this, are any library accessible in .NET to do my task The best variant - any DOM library. e.g. PostedForm.Fields[].Name PostedForm.Fields[].Type PostedForm.Fields[].Value So you have the MIME data locally stored on your machine Is it in Base64 Btw if you want to capture incomming MIME data from IIS I would suggest you check out this ISAPI Extension example: I was pretty sure that you couldn't create a hook for reading post data ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with running XNA-Applications

    I have a problem. I can't start XNA-Applications on my second PC, although I had installed there the XNA Framework Redistributable and .Net 2.0. On my first computer (where I had installed the XNA GameStudio Express), all XNA-Applications run. (Boths PCs have the same DirectX-Version.) Perhaps I had forgotten something, but I don't know what. Thanks for any help (and sorry for my bad english). SteveKr Could you be more specific "Can't start XNA-applications" is a bit vague. Do you get an error If so, what error do you get ...Show All

©2008 Software Development Network