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

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

psc161

Member List

NickNotYet
pappascd
Jarno Leikas
sarc Development
SaintAnger
Tewks
Billy Porter
MaggieChan
jbearfoot
ismar
cobain81
boston_sql92
xuding
Dongwei
Ledeni_Plamen
TomWardill
grnr_r
Peter Richard
bilalso
yeshman
Only Title

psc161's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with executing two DirectPlay Server under DirectX8 on the same server

    Hi, after I've googelt endless hours, I hope I'll find an answer here. I'm using DirectPlay for communication between clients and a server process. No we get troubles with the traffic on the network connection. So I've added a second network card and started the Serverprocess a second time (using the new IP-Adress). But when executing: DirectPlayServerCreate.Host AppDesc, DPAddress an error occured (Automatisierungsfehler / automation error) Here's the code in VB6: ======================================= Dim AppDesc As DPN_APPLICATION_DESC Dim lngErr As Long Call Class_Terminate With AppDesc Select Case mServerNr Case 2 .guidApplication = AppGuid2 'Guid created by GuidGen Case Else ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All

  • Audio and Video Development Getting a VC-1 file ready for advanced content authoring

    Hi all, I just started to author advanced hddvd content but i vailed in getting a valid video content to test my first project. is it possible to multiplex a VC-1 file with the Sonic authoring system for standard HD content in a way that i can use it for my first advanced content project I tried to import the vc-1 file into sonic, generated a simple autostart HDDVD, multiplexed it and used the HVDVD_TS folder for my advanced content project but it didn't work. The Nero Showtime softwareplayer diplayed the menu correctly but didn't play the video. I also tried to burn a dvd rom and inserted it into my Thosiba HD_DVD player but it just displayed the disc error 0x4095C501. Can anybody help me thx mikeret ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?

    How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D Zumwalt wrote: So basically what you are telling everyone is don't bother with the SDK at the moment because it is pre-alpha still an ...Show All

  • SQL Server update and delete query run very slow, why?

    a simple update query, like 'update order set f1001=1 where f1001=0', runs very slow, even got a time out error, since I put a datetime field as part of index. when I take off the datetime field from the index, everything runs as normal. Any idea Thanks in advance. Are there other process accessing (select, insert, update, delete) this table How many rows will satisfy f1001=0 What and how many indexes are defined on order table Is the datetime field part of the clustered index How large is are the indexes If column f1001 is part of the clustered index and the clustered index is quite big, and/or there are lots of indexes on the table and/or lots of rows met the f1001=0 crite ...Show All

  • Visual C++ How to implement c function strtok?

    Hello all: Does anyone know where I can find the source code for implementing strtok Thank you -Daniel The C-Runtime source code is available with versions of visual studio. You can see the strtok source at STRTOK.C in the SRC folder of your installation directory. MSDN has the sample on using strtok please refer it. ...Show All

  • Windows Forms Text property in Windows Forms Designer

    I am using the properties window of a Label that I am placeing on a windows form. I am trying to set the text property to My.Settings.mytext  and it keeps putting quotes around the string. What is display is "My.Settings.mytext" is there any way to tell Visual Studio not to place quotes around the string   Yes I know that will work. Thank you. I just though you could do something like <%My.Settings.mytext%> like you can using VB script for a website project. ...Show All

  • Visual C# Window blocked from opening after debugging

    Hi, Just so you know, this is my first post in this forum, so if I don't adhere to a protocol, let me know. I'm running visual studio 05, and I created a Hello World windows application with an OK button, label and a text field. When I debug or start without debugging, the window is somehow blocked from opening. It worked for a little while and I was able to use the window, but now it's back to opening for a split second and then closing. I'm on XP Pro SP2 Hi, I figured out some sort of workaround, or maybe a fix, but I changed the directory of the solutions I created to the desktop and now they work. Anyone have any idea why The original directory was My Documents\Microsoft Press\Visual CSharp Step by St ...Show All

  • Visual C++ Loading DLL dynamically in VC++ using VS2005

    We have a application which is miggrated recently from VS6 to VS2005. Loading DLL dynamically used to work with out nay issues using following piece of code // return NIC_DLL_NOT_INITITALISED; m_hModule = LoadLibrary(_T( "XYZ.DLL" )); } if (m_hModule) { char * szPath = 0L; szPath = new char [m_strDataPath.GetLength()+1]; CUnicode::ConvertToNarrowString(m_strDataPath, szPath); typedef void (WINAPI *LPPASCALFUNCSETPATH)( char *); LPPASCALFUNCSETPATH lpfSetDataPath = (LPPASCALFUNCSETPATH)::GetProcAddress(m_hModule, "SETDLLPATH" ); lpfSetDataPath(szPath); But now it is giving access violation error when i try to use the methods from the dll... please help.. thanks & ...Show All

  • .NET Development When passing in year to GetDaylightChanges the wrong start and end dates are displayed

    Been working on some things and looked at the example in GetDaylightChanges. Well since it is now 2007 and the daylight savings dates will change. If you put in a year other than 2007 say like 2001. The Start and End datetime properties are wrong. Run the example for GetDaylightChanges. The Example results show Year Start End Change ---- ----- --- ------ 1960 1960-04-03 02:00 1960-10-30 02:00 01:00:00 1970 1970-04-05 02:00 1970-10-25 02:00 01:00:00 1980 1980-04-06 02:00 1980-10-26 02:00 01:00:00 1990 1990-04-01 02:00 1990-10-28 02:00 01:00:00 2000 2000-04-02 02:00 2000-10-29 02:00 01:00:00 2001 2001-04-01 02:00 2001-10-28 02:00 01:00:00 2002 2002-04-07 02:00 2002-10-27 02:00 01:00:0 ...Show All

  • Windows Search Technologies Unable to search mapped network drives like I could with Beta version

    I downloaded and installed the latest version of Windows Desktop Search. I had the Beta version before. It is a great tool! Here's my problem: when I had the Beta version I was able to search my computer's hard drive plus all network drives I have access to. Now I can only search my computer's hard dirive. I checked the "email and all hard disks" in the Desktop Search options and then selected "Index Now." Still I can only search my personal computer and not the network drives where I store virtually evrything. Anyone know what I need to do to be able to search the network drives again How come there is no "help" in the Widows Desktop Search" toolbar. Quite a problem. paul schultz lancaster, PA ...Show All

  • Software Development for Windows Vista UIAccess in Manifest Files

    I was trying to add a <requestedPrivileges> to a manifest file. Setting uiAccess = false works fine for my application. The documentation says that setting UIAccess = true, the application does not need to drive input to the UI of another window on the desktop. Applications that are not providing accessibility should set this flag to false. Applications that are required to drive input to other windows on the desktop (on-screen keyboard, for example) should set this value to true. Inspite of setting UIAccess = false, I am able to use SendMessage() and PostMessage() API's ( I tried closing other windows using these API's). So I am really not sure what previleges am I missing by setting UIAccess = false What does UIAccess = true actual ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GenerateMipMaps

    Do I have to write my own mipmap-generator or is their a possibility to auto-generate mipmaps. I've tried the method GenerateMipMaps from the Texture class, but all generated mipmaps are entirely black. In the case you upload the texture content by your own you have to build the mip maps too. GenerateMipMaps works only for texture that are used as render targets after you have draw to it. ...Show All

  • SQL Server Report Grouping

    We are creating reports in RS, and using a category grouping to group the results in a table. In some (but not all) of our tables, it seems that RS will randomly choose one of the response rows and pad the category column with extra white space (or invisible character) that, when the grouping occurs singles this row out and causes it to be displayed as a separate section. We can fix it, of course, by using a Trim() on the category.Value. However, I am more concerned with what is causing the behavior. We have looked in our source tables and the data is always consistently the same length. It appears that this only occurs when RS is bringing the data back for display. Is this a known issue ...Show All

  • SQL Server composite nonclustered index

    Hi everyone, I have some problems on composite nonclustered indexes. I could not exatly understand their logic. In my opininon, suppose that we have a table called Order and we create a composite nonclustered index on this table for OrderID column and OrderDate column. So I am using this query; SELECT * FROM Order WHERE OrderID > 12 ORDER BY OrderDate So in here, I think our first research is based on OrderID and ten after ordering our data pointer according to the OrderID and then our index is converted to an index which is based on OrderDate while performing ordering. So is this correct Would you please explain this Thanks REAL WORLD SCENARIO lets say i have a junction table for student and subject which is a many to m ...Show All

©2008 Software Development Network