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

Software Development Network >> code jockey's Q&A profile

code jockey

Member List

cheng_lucia
Joel Martinez
Sweeps78
Jon50
Adam Juza
Eugen F
gabo_uy
NetPochi
Professor Mustard
Nuno_Salvado
KFrostILEM
Will Merydith
Rudemusik
cb3431
Amos Soma
frappy666
Can-Ann
Quimbo
netshade
Greg Van Mullem
Only Title

code jockey's Q&A profile

  • Windows Forms Help in datagridview

    HI.. please provide me the program to add, delete, edit and update records in datagridview.. please help check this out: http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx to add us the methods: datagridview.rows.add() or datagridview.rows.insert() to delete, you can use: datagridview.rows.remove() or datagridview.rows.removeAt() update is a pretty vague term, but you probably mean to update a cell value: datagridView.rows[rownumber].Cells.[colNumber or "colName"].value=12345 ...Show All

  • SQL Server Team Foundation server SP1 installation issue

        i have downloaded team foundation server SP1 from the internet  VS80sp1-KB926738-X86-ENU.exe and tried to insytall on my server but a window keeps appearing to me saying "  The upgrade patch cannot be installed by the windows installer service because the program to be upgraded ma be missing " before that i had installed : a team foundation server beta SP1 " VS80sp1-KB922996-X86-Beta-ENU.exe" Visual studio 2005 SP1  "VS80sp1-KB918525-X86-Beta-ENU.exe" and it was sucessfully downloaded and now i want to upgrade these beta releases to SP1 but this issue stops mee anyone knows why this window keeps appearing       That appears to be the case, but ...Show All

  • Visual Basic Posing equations

    Hi I run into trouble when I wanted to test equations. Having an array of equations e.g. {"2X+3Y<=20","5Y+7X<10"....} I like to pick the equations out and test them like Dim X As Integer = 5 Dim Y As Integer = 7 Dim Eqation() As Integer = {"2X+3Y<=20","5Y+7X<10"....} if 2X+3Y<=20 and 5Y+7X<10 then .... Question: How can I pick out the equations and make VB understand that its a equation and not a text file and put it in the If function I would appriciate all help I can get, Thanks, Tomas Just because I like complex solutions :) (using the script lib is probably the best solution, but I've never tried it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multiple Cores, etc... on the 360

    Hello everyone, Like practically everyone here, I'm truly excited about the idea of being able to run my own games on the 360! I've long been interested in the concept of running my own code on a console and it's always annoyed me that systems needed to be locked down so heavily because of the pirates who spoil the fun for all of us. So I just want to say thanks to Microsoft for giving us hobbyist/one-guy game developers the chance to develop for the console like this! It's like my prayers have been answered! Now for a couple of questions: 1) I'm just wondering how the multiple cores in the 360 will work Will the managed code automatically utilize all three (well, in effect, six) cores or w ...Show All

  • SQL Server Calculated Measure using Datediff

    Hello out there, i am pretty new to SSAS and have to add a calculated measure that uses the Datediff function from T-SQL. In detail I want to calculate the average Datediff between a selected Date and the Dates in the DB Table DimUsers. For example: UserID = 1 - FirstVisitDate = 05-01-2005 UserID = 2 - FirstVisitDate = 07-05-2005 UserID = 3 - FirstVisitDate = 07-19-2005 . . . And now I want to display the average DateDiff in Days between those Datetimes and a selected Date (let's take 01-07-2006) for showing it in the Cube Browser. I hope I explained it clear enough and someone please show me a detailled way to do that. Thanks a lot in advance! Greets Claudio ...Show All

  • Visual C++ Update the Edit Box.

    Hi... I am setting the text in the Edit Box by the following way. CString in_buff_data; m_Edit1.SetWindowText( in_buff_data ); I am calling SetWindowText in the timer event. The part of the contents of in_buff_data is chaging each time. But not changing whole string. Is there any way to just update(or replace) the characters those are changed. Because my Edit Box is blinking little bit because it is drawing each time from start. Thanks Thanks Marius Bancila, This ( i.e. SetSel and ReplaceSel ) will work once the characters are all ready written in the edit box. In my case, the text format is very complicated. I need to write one character at a time and also need to replace o ...Show All

  • SQL Server Slow Running Insert After Changing OLE DB Destination Data Access Mode

    Hello, In a Data Flow Task, I have an insert that occurs into a SQL Server 2000 table from a fixed width flat file. The SQL Server table that the data goes into is accessed through an OLE DB connection manager that uses the Native OLE DB\Microsoft OLE DB Provider for SQL Server. In the OLE DB Destination, I changed the access mode from Table or View - fast load to Table or View because I needed to implement OLE DB Destination Error Output. The Error output goes to a SQL Server 2000 table that uses the same connection manager. The OLE DB Destination Editor Error Output 'Error' option is configured to 'Redirect' the row. 'Set this value to selected cells' is set to 'Fail component'. Was changing the access mode the simple reason ...Show All

  • SQL Server Switching Excel Worksheets Based On Date

    Hello, I need to pull data from an Excel Workbook (DTS Excel Source) where the data is stored in worksheets that are each named one of the twelve months of the year. The package is fired by a job that runs once a month. Currently, I have to go into the select statement of the Excel source before the process runs and change the name of the Worksheet that the data is pulled from. How can I set up the sql statement for the Excel source so that I can pull from the Worksheet that contains the name of the current month Thank you for your help! CSDunn Use a dynamic properties task to change the filename of the connection object. http://www.databasejournal.com/features/mssql/article.php/3116201 ...Show All

  • Visual Studio 2008 (Pre-release) PrintQueue

    How to customize the printer selection instead of pointing to default printer E.g : The system is connected with network and configured with five printers (“HP Laser 1”, “HP Laser 2”, “HP Laser 3”, “HP Laser 4”, “HP Laser 5”), the printer one(“HP Laser 1”) is the default printer. Thanks and Regards Gobi N It depends on the task you would like to accomplish. To get input from the user on which print queue to utilize, you will likely want to use the PrintDialog API. To see an example of choosing the PrintQueue with this api, see the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=407589&SiteID=1 Alternately, you can enumerate the install ...Show All

  • Software Development for Windows Vista CreateFile returning Access Denied for Physical Drives

    I'm writing a program to enum all the physical drives in the system (to examine unmounted drives), however my CreateFile call isn't returning a valid handle: SafeFileHandle driveHandle = CreateFile( string .Format( @"\\.\PHYSICALDRIVE{0}" , drive_index), GENERIC_READ, 1, IntPtr .Zero, OPEN_EXISTING, uint .MinValue, IntPtr .Zero); After checking the LastError I find that the error is "Access Denied", how can I get my program access to do this Update: After running the Application Verifier I find I'm hitting this problem: Object opened/created in a restricted namespace I have a feeling I need to change the runLevel in the manifest, but I can't find any pages with examples of how to do this, just pages talking about making ...Show All

  • Visual Studio Tools for Office Interop.Word.dll

    I am building an asp .net development using c#, I'm using Interop.Word.dll to automate the generation of word documents. On my local machine i have no error running the solution but on our development webserver i get the following error System.Runtime.InteropServices.COMException: COM object with CLSID {000209FF-0000-0000-C000-000000000046} is either not valid or not registered. Now i think the error is from that i need to have Word installed on webserver, I am just wondering is there anyway to use my solution without having Word installed on the webserver, i.e. have the dll in the bin directory Cheers  Hi Wajhi, Is it possible to work with word document without installing it o ...Show All

  • SQL Server Zero converted to null

    I have restore a SQL Server 2000 database in SQL Server 2005. I have a web aplication that uses dll to talk to the database using ODBC - SQL Native Cliente provider. I have a table with a key integer not null. The first element of my table has a key = 0. When the asp page recive the record set the value of the key field is null, why If i use the query directly in the SQL Server the value of the key is 0. Please help. Hi, thats really strange. Check your query in your frontend if you really did not request the second value. The SNAC does not rewrite queries on his own, there must be a difference in the queries. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista SDK Platform Problem

    I am trying to get the SDK that lets you create Windows Forms Apps in VC++ 2005 Express, but I've ran into a problem. Im following the instructions here: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx I've run into a snag though. I can't seem to find the file: corewin_express.vsprops. I do have a file called corewin_express. I dont know if this is the same file or not. Well anyway, I continued along (changed the corewin_express file). I then try to make a windows forms app, but I get this: A norton antivirus pop up comes us and says: Malicious script detected High Risk Your computer is halted and needs to do someting about this script: Details: Object FileSystem Object Activity GetSpecialFolder File VCExp ...Show All

  • .NET Development Forcing at least one element, but each element can't repeat

    I'm to force the house element to have at least one room, and no more than one of each room -- in any order. I thought the xsd below should do the trick: < xs:element name= "house" > < xs:complexType > < xs:choice minOccurs= "1" maxOccurs= "4" > < xs:element type= "room" name= "bedroom" maxOccurs= "1" minOccurs= "0" >< /xs:element > < xs:element type= "room" name= "kitchen" maxOccurs= "1" minOccurs= "0" >< /xs:element > < xs:element type= "room" name= "living" ...Show All

  • Audio and Video Development Running Multiple Script Files

    I'm running into a problem when I start to use more than one script file. From the little documentation I could find on this, the player should start with the first script file in the manifest, complile it, and move on to the next and store all the variables and functions for use when they are called. When I try this, the player runs none of the scripts and just plays the audio and video. The scripts were checked and are valid. Does the first script have to initialize the other scripts or am I missing something real obvious here Got it all working. I was defining too much in the manifest. Now it consists of one script, one markup, and one ACA resource. Guess sometimes simplicity is a better way to go. ...Show All

©2008 Software Development Network