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

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

Pockey

Member List

Deanboy
kstus
Habibullah
georgeob
aashta
James Chambers
Xiame
JavaBoy
TomJ72
ShadowRayz
Generic123
DanMeyers
pdurbha
pajamo
Vijay_kar
Vladimir Chtepa
Jeffrey Welch
Vimal_Rupera
Linlin425872
JPC16
Only Title

Pockey's Q&A profile

  • Visual Basic TableAdapter.Update command issue

    Hi, I'm pretty new to VS 2005 but I have a strange problem with the TableAdapter.Update command as it runs successfully but will not update my unlined bound database table. Any suggestions on how I should identify what's going wrong or to fix it. The command I run at the moment is: me.tableadapter.update(me.dataset.datatable) Thanks, John To elaborate a little further on what renee has said, how are you determining it hasnt updated the database, are you stopping you application and restarting it in debug. If so then the likelyhood of the database being overwritten each time you start restart the application in debug is pretty common and presents and illusion that the update may not h ...Show All

  • Visual Basic Unexpected Results when resetting a dataset

    I have what is basically an adhoc query tool that loads a single table (ds.tables("Work")...)in one dataset from SQL server. The dataset can be saved with WriteXml(FileName, XmlWriteMode.WriteSchema) and reloaded with ReadXml(FileName, XmlReadMode.ReadSchema). Because the query behind each dataset might change between saved DataSets I am calling DS.tables("Work").Reset before each reload. The first "reload" of the dataset using the ReadXML works as expected, but if a second resultset is loaded the second set does not produce the desired results. ds.tables("Work:).rows.count returns the correct number of rows but ds.tables("Work").columns.count always returns 0. console.writeline ds.writexm ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. exporting x and fbx files

    Hi there chaps - I'm fearful that this question has been asked before but lots of searching could not find it. In essence - if I export a model in 3D studio Max (version 7) in both x and fbx format, neither displays using the (excellent - thanks guys) 3D sample code. That's not entirely true - the x file displays but completely white, the texture barely visible. The fbx file has the right texturing but many of the polygons are linked incorrectly, or have wandering vertices. The fbx is in some sort of binary format incidentally. Now, my question after all that intro - what exporters do people recommend for 3dsMax - for either FBX or X files Or is there some very stupid option I'm not turning on (eg - X file exporter's hidden Tipp-Ex all ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. am i dumb?

    hi i am asking this question becuase i came across xna by accident,i have installed it and it works this is why i am asking if i a dum because its a typical microsoft thing you get the program then theres no mention on how to use it. i have gone to the xna game studio help and its a load of [removed] wheres this [removed] spacewar then that i can load and use. from a non programming person beleive me you should get this right straight away as joe bloggs like me wont even bother to look start making life simple please microsoft or is it just im so stupid that i cant see whats in front of me. yes i have it installed but hay wheres the great easy to follow instructions on how to make the damn games wheres the great source c ...Show All

  • SQL Server Passing Date Parameter to Oracle Query

    ActivityDate is a report parameter set up as a date that I'm trying to pass into an Oracle query. The specific WHERE clause is WHERE PROJ_DATE = TO_DATE(:ActivityDate,'YYYY-MM-DD') When I run the query from the Data tab, all works as expected. I suspect the reason is that I under the date as 2005-12-31. If I enter the date as 12/31/05, the query fails ("Not a valid month") unless I change to function's format to 'MM/DD/YYYY' in which case I, again, get good results. But when I run the report from Preview, I get no results at all no matter what format I use in the function. Any chance any of you have seen this and know how to work with it This thread is really old, but I'll re ...Show All

  • Visual C# How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C#

    I have a program that was written in VS 2003. The program runs fine without a hitch. A few days back, I installed VS 2005. The program compiles fine, but everytime I run it, I got the an IllegalCrossThreadCalls Exception (something like its not reccomended to access a thread from another thread). Since I know for sure that my code won't cause any problems, I just want to turn off this exception. I found the following code that does the job: >> Control.CheckForIllegalCrossThreadCalls = false; The problem is that this line doesn't compile under VS 2003 (the .CheckForIllegalCrossThreadCalls is specific to .NET 2.0). I want my program to compile under both VS 2005 & VS 2003. So, I want to auto-detect the version of Vis ...Show All

  • SQL Server Changing a SQL 2000 CD Key?

    My company has recently sold a part of its business, and along with that business goes a live SQL 2000 server. However, the license for said SQL Server was not part of the sale. So, to make a long story short I've been tasked with finding a way to A) change the license key of the existing installation to the new owner's license key while B) keeping the existing installation intact and running. Now I've done enough digging to know exactly where the key info is kept in the registry (in HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Registration), but I'm more than a bit leery of changing the key at the registry level without confirmation that it will work. I do have a test server I can use as a test if necessary, but I'd prefe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HELP! sampler state not being set inside fragment file

    I am having a horrible time trying to get simple mag and min filtering working when using fragments. Basically i have a pixel sahder that does nothing but apply a texture. In the application, i set the texture by looking for a sampler object in the shader constant table and then retrieving the correct stage from the sampler register index. I have a typical sampler state block set up inside of the fragment file and yet no filtering is applied. I am using the fragment linker and i have also tried setting the sampler states via fixed function pipeline. Any help would be greatly appreciated as to why this is not working. Well thanks for the help guys, I fixed the problem and it was one part my own stupidty, but ...Show All

  • SQL Server Getting Return type from Stored Procedure

    Hi all, I am trying to figure out a way to analyze a stored procedure to deduce its output type. A stored procedure can return values throught one of the following: 1) Using the Return keyword 2) Returning a recordset 3) Throught its Output parameters 4) A combination of 1, 2 or 3 Using the Information_Schema, you can access the SQL code of the stored procedure from, say, VB.Net. From there, I want to know what output type the stored procedure has. A) for 1), I guess I can parse the code for the 'Return' keyword, but that wouldn't be efficient, for the 'Return' word could be inserted into string values... B) for 2), it would be difficult to analyze the stored procedure's code to know FOR SURE whether a recordset ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. General strategy question about XNA

    What is MSFT's strategy with GSE I mean, is it a stripped-down version of GS Pro meant to spark interest in GS Pro Is it actually going the core of GS Pro, and the hobbyist/student community is acting as both first adopters and beta (or even alpha) testers of the product Is it a way for MSFT to foster some kind of indie/small game shop Xbox360 game development (The latter would seem to be slightly odd: the actual dev kits, I gather, are not a minor expense, in addition to what I'm assuming are certification and any other testing expenses; I would think that releasing an alternate path for Xbox game development might cannibalize an existing revenue stream...) It would seem to me to be just simpler to wait for GS Pro to come out, and l ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Splash Screen Processing

    Hi again all :-) Am still writing my little app to get my head around using c# + XNA and just wanted to check i was doing something in a effective manner. It all relates to the splash screen section which effectivily just fades in a company logo, fades it out, the fades in the application title and fades it out. The way i do this at the moment is that i have a class called SplashScreen which has 3 functions init. which loads n e images, sets up n e variables etc. that are to be used. Draw. which as it says draws approriate image and updates alpha to create fading of images, then delete. which nulls out n e thing that may be takin up memory to free it up a little (not sure if needed really) in the games main initialization function ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems putting a game on another PC

    Hi I've searched through some threads where people have the same problem, but none of the responses I've seen seem to work for me while trying to run a game on another PC in my home. While working fine on my programming computer, the game will crash (when I try to run it on my other computer. I have done the following so far: Installed the latest version of DX9.0c on that PC Installed the .net framework 2.0 (not to mention some security fixes and such for it) on that PC Installed the xna framework (1.0) on that PC Made sure that when publishing, under the prerequisites, I have the two xna framework dlls set to 'include' instead of 'prerequisite' The only thing I can think of as a possible problem is that the computer I'd like to put it ...Show All

  • Software Development for Windows Vista problem in compiling the video capture sample provided in the SDK

    hi all, I am tried to build (in vc++) the video capture code provided in the SDK which is giving the error C2065: 'ICaptureGraphBuilder2' : undeclared identifier I have included the library strmiids.lib and dshow header file which is neccessary for it. I don't what else i have to do. Any help is appreciated thanks Hi Lovlysath, Just want to ask whether you have solved the problem with your program. I think I am experiencing the same problems, but mines is caused by unable to initializing capturegraphfilter. I get a runtime error on the line pBuild->SetFiltergraph(pGraph); Chee chee_chungc@hotmail.com ...Show All

  • Smart Device Development Pocket PC Phone WM 5.0 Device emulator Internet Setting "Automatically detects setting"

    I am working on a Pocket PC WM 5.0 application.Application is working fine in the Pocket PC Phone WM 5.0 Device emulator. No In My application I have to connect to internet. My system is on LAN.On my Internet connection setting Automatically detects setting check box is check. In the device emulator I don't know how to configure setting so I can able to browse in the deve emulator. Please Could Any body help I'm having the same issues. Trying to connect the Pocket PC WM 5.0 Emulator to the Internet. Where can I find the Device Emulator Manager Application. I can't seem to where it it. Danny ...Show All

  • Smart Device Development FTP over SSL

    Hi, I need to download/upload files to ftp server with ssl. Could you know how to do this I can easily connect to ftp without ssl using CSocket, but how can I do it with ssl Thanks. Huge thanks. I've downloaded Rebex  SDK and it works well =). All this SDKs are for CF. Do you know any for eVC ...Show All

©2008 Software Development Network