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

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

Dondata

Member List

davidg12
haridorai
leclerc9
clint 2
pmanisekaran
amc
George Birbilis
phoenix11
pgems
yokike
Nathan H
JDAnthony
jacobsologub
JaganReddy
Will Durning
JWhite
大頭仔
Cygon4
NickNotYet
RSHORE
Only Title

Dondata's Q&A profile

  • SQL Server Looking for table design pattern for different value types

    Hi, I need to store a list of parameters in a database. Each parameter has a name, description, comment and a value. Easy so far. However the values are of different types. Each individual parameter has a value which may be of type int, decimal, string, boolean, custom type etc. Which table design pattern is most appropriate We have a heated in-house discussion and I need supporting arguments. Options explored so far: 1) (De-)serializing the value to a string-type. 2) Adding a column for each type, using only one column at a time. 3) Adding extra value-tables, one table for each type. The disadvantages for each option are obvious and the basis for our discussion. Your help in this matter will be appreciated. Regards, T ...Show All

  • Visual C# Unable to debug C# solutions

    I'm using Visual Studio 2005 Pro. This problem is repeatable with archived code on backup discs as well as new solutions. When I attempt to run my apps in Debug Configuration with breakpoints, I get the message: the following module was built either with optimizations enabled or without debug information. D:\Programming\Solutions\******... To debug this module, change its project build configuration to Debug Mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option. Here's a screenshot . This is done with a brand new solution. File > New > Project > C# > Windows/Windows Application > Ok > Build > Run. [update] as par this thread , I've tried restoring factor default settings.  ...Show All

  • SQL Server sharedenyread didn't work in ADO

    hi .. i made an application using vb6 that access the table in a sqlserver database and in the load event i write cn.mode=adsharedenyread and i make two copies of the application and run them both of them read the data and no deny happen !!! although both of the applications have adsharedenyread how can i make privilage for some users to read or write by the way is that can be done in ado.net 2.0 thanks in advance. Hi, You should make sure that you are setting the mode when the connection has not been established yet, that is the only situation where the mode would apply. Also try reading the cn.Mode property to see if the value you specified was successfully set or not. Thanks Waseem ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Learning a programming language AND game programming concepts simultaneously a pipe dream?

    I'm tryig to learn C# programming with the aim of creating games, but boy is it a struggle. I think the stumbling block for most people (and I include myself in this group) whose primary interest in programming is games related, is that a large conceptual leap is required between document-based programming and real-time programming - and there simply isn't any sufficient discussion or tutorials explaining the fundamentals of the concept to ease the transition. The basic problem is anyone who starts out learning a language like C# pretty much finds themself with nothing but books teaching the language from the perspective of programming forms, event-handlers, interacting with controls  and basically looking at exer ...Show All

  • Visual C++ Specify a DefaultValueAttribute for an enumerated type property

    How does one specify a DefaultValueAttribute for a property of an enumerated type None of the constructor for DefaultValueAttribute take a System::Enum as the type of its parameter. The compiler does let me specify an enumerated value for the enumerated type but it must treat this as a System::Object instead. Try creating a CLR Class Library, add a Component Class, then add your code above to the component class. Build the CLR Class Library. Finally double-click on the Component Class header file to open it in Design mode. What do you see Now go to your component class code for the DefaultValue attribute and instead of: [System::ComponentModel::DefaultValue(Type1)] change it to [System::ComponentModel: ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with UNICODE.

    Hi all Im using Visual C++ 2005 Express Edition.. Im trying to make a little game and when i was first doing it i was using the MULTIBYTE character set.. and i could display numbers for ( FPS , SCORE , ..ect ) using the DirectX 9 DrawFont and it worked fine.. Then i wanted to add some sounds to my game and i had to change the Character Set to UNICODE.. for the directx helper files DXUT, DXUTsound, ect... and now i can't display any numbers, I was wondering how to display numbers (int , float ..ect).. I have tryed converting the number into the LPCWSTR but i can't work it out being a newbie to C++ and DirectX SDK or if there is some way to use the MULTIBYTE char set and still have sounds in my game... this is ...Show All

  • Software Development for Windows Vista ASP.NET/Visual Basic error:Type 'System.Workflow.Runtime.WorkflowRuntime' is not defined.

    In Visual Basic ASP.NET web sites the workflow namespace is not defined: Error 1 Type 'System.Workflow.Runtime.WorkflowRuntime' is not defined. In C# ASP.NET web sites this problem does not occur. Thank you. You can find a working VB ASP.NET sample here which references System.Workflow.Runtime.WorkflowRuntime. ...Show All

  • SQL Server Problem b'ocz of using diff tcp\ip port

    we have two servers say for eg sql server A and sql server B. Recently we changed the port number of server A to XXXX. Also server A was linked with server B. Earlier [i.e server A with default port] databases of server A were accessible from server B. But after changing the default port of server A, we could not able to access the databases of server A from server B Manick: You might need to add an ALIAS to the CLIENT NETWORK utility on server B for server A. I'm not really sure about this one, but it is a fast and easy check. Dave ...Show All

  • Gadgets This is not a valid gadget package!! grr!

    hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards i am using winZIP at the moment, any other ideas on other programs to use to make it I tried with 'store' as the compression level in winzip and it still didn't work! I dont think you can turn compression off in winzip! Regards ...Show All

  • Windows Forms Need webBrowser to execute while app waits??

    I have an app that waits for an event (enter captcha text) upon submitting ,it goes to another page (user agreement) where i need to sendKeys yet to another submit button... my problem is the final line of code is executing before the next page loads ... I tried Thread.Sleep, but it siezes the whole app! webBrowser included.. I have no clue what to do... any ideas private void button2_Click( object sender, EventArgs e) { HtmlDocument doc = this .webBrowser1.Document; doc.GetElementById( "verificationWord" ).Focus(); SendKeys .Send(CAPTCHA.Text); SendKeys .Flush(); doc.GetElementById( "finishForm" ).Focus(); SendKeys .Send( "{ENTER}" ); SendKeys .Flush(); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Registering user GameComponent with GameServices

    I'm finishing up work on porting some of my libraries as XNA GameComponents and I'd like to register some features with Game.GameServices . I've tried looking at the IGraphicsDeviceService definiton but came up short. Does the GraphicsDevice actually implement this or is it a separate object the GraphicsDevice privately creates and registers Can someone provide me with an example on how to do this I'd like to see creating the Service Interface and/or object When to call GameServiceContainer.AddService Any events I should create/use Thanks MS, services could definitely use a tutorial. please! I'm trying to create an ICameraService that will provide the View and Projection matr ...Show All

  • Visual FoxPro Returning control from a modelless form.

    Hi; I have a form which displays a text file in an editbox. I call this form from a PRG which has a window defined. If the form's WindowType property is set to modal, the form works fine. If I change it to modeless, the form returns control to the calling prg but the active window stays the form itself. How would I keep a form modeless but return the active window to the window that called the form I hope I make sense... Thank you all. A variety of Modeless forms (browsers, lists, etc.) have various solutions you can work with in crude fashion (which your user won't care) I've (personally) disabled everything but "the calling form" during the call: i.e ...Show All

  • Visual C# windows service running on particular time and debug.write() where it prints ?

    Dear All, I have windows service done with C# and able to be install using the installutil.exe. My problem now is that I want to set it like to run on particular time of day for instance 10.00 am daily How can I set this I have tried to use timer but it sets an interval only Another thing is that I have debug.write() in my windows service where can i check the output of the debug.write Where is the file Thanks. Dear Galin, I read in some site in the net saying that thread timer is more secure than timer So what is this type of timer is it different than the one you suggesting to me Thanks. ...Show All

  • Visual Basic Please suggest me a MS.IT level project to undertake in my college (inhouse project)

    Please suggest / list me the project definitions that you guys can think about that i can pursue as my inhouse project in my university. Try building your own fantasy sports program. Have stats entered manually, from a text file and, if you are good, by reading a sports web page (like each team has the players stats). I'm thinking about doing it for my brother (at his request) after I'm done with my senior project. ...Show All

  • Visual C++ cout and operator<<

    This code: char arr[] = "Hello" ; cout << arr; //displays Hello cout. operator <<( arr ); //displays the address of the H I had always thought that these two statements were equivalent. There is apparently a detail that I have overlooked. Since arr is the address of element 0, which is a char,then both statements need to call ostream::operator<<(char*). Right Why do the displays vary Shouldn't they be the same These two statements are not equivalent. The first statement considers both member operators and global operators while the second statement only considers member operators. As the operator that takes a const char* (or const wchar_t*) only exists as a glo ...Show All

©2008 Software Development Network