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

Software Development Network >> SOTY_Programmer's Q&A profile

SOTY_Programmer

Member List

tomdart
Rodolfo Montero
ankush sharma
Eric Brinkerink
bes7252
HCarter111
angelina
xBoRISx
techlist
ropley
Paul Kjer
StUdEnT in distress
Nguyen Minh Dung
AboOmar
Moonshadow
Edmund
Koruyucu
MikeBlig
davidgsteadman
av_ster
Only Title

SOTY_Programmer's Q&A profile

  • .NET Development Library or source files

    Hello, I've created a webservice. What brings more performance If I put the whole service in a compiled library or can I let the source files in the app_code folder Procompiles the IIS the source files or are they compiled for each request thanks ...Show All

  • Software Development for Windows Vista SetWindowsHookEx and JournalRecordProc

    Hi, SetWindowsHookEx(WH_JOURNALRECORD,JournalRecordProc,hInstance,0) This is failing on Vista build 5231. Is this just not supported yet in the beta or is there a change to the SDK that I'm not aware of Thanks, Marcus Add me to the list of interested parties! WH_GETMESSAGE fails with access denied as do the journaling hooks. Does anybody have any update on this ...Show All

  • SQL Server SQL Management Studio & Visual Web Developer

    OK ... so like thousands of others I am a Visual Studio Newbie. I want to learn, I want an ASP website, I have worked hard with Visual Web Developer, bought the books read the articles .... then bang walked into SQL ... ouch ... that did hurt !! Downloaded SQL Management Studio ... thought I had found the solution. Like all the Express products it looks great ......so what is the problem It is a simple problem and from looking at hundreds of other forum posts it seems I am not alone !! Nobody has provided a simple guide to the steps you need to take to get MDF's out of Visual Web Developer onto a Server. (in my case 2005) - ideally written by an expert who can avoid the temptation of wondering into 'techguruspeak'. I know nothing ...Show All

  • SQL Server SQL 2005 upgrade Problem - In place upgrade

    Hi, We are running a test upgrade form sql 2000 standard edition 32 bit to sql 2005 developer edition 32bit. Followed through all the steps and specified the account(SA priveleges and currently used by the 2000 version) and is the local admin on the box for the services and the setup seemed to move fine, except for when it got to the point of installing database services - This is the error message that I got: MSSQLServer could not be started. Verify you have sufficient priveleges to start system services. The was no choice but to hit cancel and then the set up progressed with a final message of 'SEtup failed'. Here is a portion of the error log: Attempting to recover in-doubt distributed transactions involving Micros ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA project hard freezes XBOX360

    A game I have been developing works perfectly fine on windows, however, causes my xbox to hard freeze (all controls stop responding and the device can only be shut off from the power button on the xbox itself), which in turn detaches the debugger. This seems to happen after an arbitrary amount of time, and thus leads me to perhaps memory issues. I haven't been able to find anyone else with a similar problem, but if anyone has experienced similar problems, I'd be interested in knowing how you went about debugging and or solving this issue because I'm having lots of difficulty isolating the problem to any one block of code. At any rate, it seems odd that my managed code (no shaders either) would cause the entire xbox to freeze considering it ...Show All

  • Windows Forms How to extract info from tables in http files without too much custom code?

    I am working on Windows form and  I am using some publicly accessible http files written by 3 party to extract info from the tables generated by xml and css files that maybe unaccessible for me. I am writing custom parsers to get neccessary for me info, but it looks like those tables created as a System.Web.UI.WebControls.DataGrids with readonly columns. It means that I am using System.Net.WebClient only to read (or download) those files. Can somebody sugest other ways without the direct access to corresponding server controls . ...Show All

  • Smart Device Development Is TrackMouseEvent() supported for Pocket PC platforms?

    Question as per subject title. Compiling my project with VS 2005 gives me undeclared identifier errors for TrackMouseEvent(), TRACKMOUSEEVENT, WM_MOUSELEAVE etc. Mike If we are talking about stylus input, you only need to know when the stylus left your window area when processing click-and-drag. This is normally done by calling SetCapture upon receiving WM_LBUTTONDOWN (and ReleaseCapture on WM_LBUTTONUP). In case of a regular Windows CE system (with a mouse support), I'm not sure how it can be done, but depending on the actual goal that you are trying to achieve ClipCursor function might be able to help. Regarding your other question - MSDN documentation is your best source. If you want to use a ...Show All

  • Software Development for Windows Vista [RuleWrite("somefiled")]

    Hi Can you give me a good example how to use [RuleRead/Write/Invoke] with PolicyActivity I don't get example from manual... I want some pratical real life example how to use and when :) Jedrzej Hi, this is very helpful info but can "somefield" be a variable For example, I may have the following generic functions as accessors to my data container: [RuleRead(fieldName)] <-- What do I do to achieve something like this Or is it even posible Get(string fieldName) { return container[fieldName]; } [RuleWrite(fieldName)] <-- Same idea here Set(string fieldName, object value) { container[fieldName] = value; } The reason for this is that the app is metadata driven and I can't afford to write ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Orthographic Perspective/Drawing in 2D

    This should be simple, but I'm having trouble getting it to work. I sort of understand matrices. I understand them enough to use projection matrices and I have before, but for some reason I'm unable to get the right orthographic projection. All I want is an orthographic projection matrix that uses the same coordinates as the viewport so that placing a point at (0,0,0) is the top left and (screenWidth, screenHeight, 0) is the bottom right. I've tried two different ones (both orthographic matrix creation methods), but neither yielded proper results. b.effect.View = Matrix.CreateLookAt(                 new Vector3(                ...Show All

  • Visual C++ Win32 app to set desktop wallpaper

    I must be doing something stupid here. I would like to set the desktop background to an html file. It works fine through the Windows UI (Display Properties), but the following code won't compile: #include "stdafx.h" #include <wininet.h> #include <shlobj.h> int APIENTRY WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { HRESULT rc; rc = SetWallpaper("foo.htm", 0); return 0; } The compilation error is that "SetWallpaper" is undefined. Yet MSDN says it is defined in shlobj.h. What am I missing here Thanks! AFAIK there's no API called SetWallpaper. It is defined as part of IActiveDesktopObject. ...Show All

  • Microsoft ISV Community Center Forums Password protecting to a command button in Excel?

    Hi Trying to set a password for a button i have on my user form. I want a popbox asking for password to display when the user clicks the button. I did try to use an If statement and setting a variable as my password but didn't seem to have any luck Any ideas The paragraph in my previous post should read: had two textboxes because I wanted to check the Employee number AND password. For the password textbox you will have to set the PasswordChar to "*" or one of your choice so that the password is not seen as it is typed I missed a word and it did not make sense. ChasAA ...Show All

  • Windows Forms set databinding to nothing

    Hey guys, I was wondering if there is anyway that I can cause my databound fields to be empty on startup. Currently they display the data from the first record but if possible i would like them to stay blank until i actually select the record to view(I have a treelist of to the side that allows me to select records). Any help would be appreciated. Thanks in Advance Hi, If you're binding through BindingSource control, you can try calling its SuspendBinding() method to suspend binding (bound controls won't display data values). Call ResumeBinding() to resume binding (after a selection in the treeview is done). Andrej ...Show All

  • Visual C# Passing a string to a method of a different class and using the altered string

    Hi, Seemingly easy question here. I want to pass a string a method of a different class, let the method do its job and return the string back to the method that called it. i.e. string help = "please"; DifferentMethod.Change(help); I want the new "String" value before continuing with the next step. e.g, Console.WriteLine("blah " + help); Should print the altered string not "please" My "DifferentMethod" class has a method called change. It looks like this: public string Change(string plea) { does wonderful things using "plea" return plea; } Thanks. Change the method to public string Change(ref string plea) { plea = "something new"; return plea; } And call it ...Show All

  • SQL Server Can there be read only fields in a reporting services report?

    Hey guys, I have a really dumb question. In the header of my report I am trying to put in a text box. This text box should look like this. Legend Value 1 Value 2 Value 3 Here is my problem. Everytime I put in a carrige return it clears everything that I have in the box. What is going on I then thought I should put in a table which would make my life easier but it does not allow me to put in a table in the header.. HELP Open the expresion builder and simply enter the text as you want it to appear (without an equal sign) but with your returns.  Even though it will look as if there is only one line, all three will be there when the report is renderred. PS... only dumb question is the one you ...Show All

  • Visual C# Converting List<object> to List<Class>

    Hi,     I get an object of type List<object> from a function. I know that it is a List<Employee> , i cannot type cast it directly. Is there a way i can do the type cast without having to loop through List<object>, typecasting object to Employee and making a new List<Employee> Thanks No, you can't do it. In fact that's not even a List<Employee>, it is a List<object> that contains instances of Employee. The fact that Employee is an object does not make List<Employee> a List<object>. ...Show All

©2008 Software Development Network