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

Software Development Network >> Bharat Gadhia's Q&A profile

Bharat Gadhia

Member List

James Johnston
Tiptup300
mortkar
paso
Zulbaric
TechNeilogy
Patrick Severijns
Deco
steanson
Jez Burn
wwlliiaamm
wdudek
JDWCLG
Annihil8
Rory Clark
R. John
Timmy0614
mike11d11
George2
MrZkitten
Only Title

Bharat Gadhia's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. CustomUI SDK sample is gread BUT ...

    I would like to use the Custom UI as shown in the SDK sample. I like the look and feel of the futtons checkboxes etc. Problem - I tried to plug in a simple teapot and see it - but I could not. I know I am putting it at location (0,0,0) . I know it is the right location because the box that comes with the sample is in this location and I found the place where I can turn it off - inside OnFrameRender(...) in CustomUI.cs I try to render there my teapot but no luck. Rendering a teapot or a cylinder takes 2-3 lines - where do I put them. Did anybody succeed in using this sample for own purpose. To the MS gurus - if there is a way to convey this to the DirectX team - I do like the sample, I do like to use it - but my gosh, ...Show All

  • SQL Server In SQL 2005 P1 SMO - Agent Last Run datetime

    Hi, I created an RMO script to generate a republishing replication (A to B then B to C). Because I don't want to start the B to C replication until the A to B replication is complete, I start the Snapshot and the Merge processes synchronously (vs. asynchronously). If I ran them asynchronously, I'd need to put in logic to loop-check the completion status of the Merge agent job before kicking off the B to C process. In the Snapshot agent, this means running .GenerateSnapshot(); (vs. StartSnapshotGenerationAgentJob) and in Merge agent this means running .SynchronizationAgent.Synchronize(); (vs. SynchronizeWithJob) I notice that the Snapshot agent never shows a LastRun or LastRun Outcome even though the snapshots are being generate ...Show All

  • SQL Server selective replication

    Is it possible to use replication for inserts and updates only for some tables and inserts updates and deletes on others. I want to be able to delete data from the source database but not my replicated database. Does anyone know of a way to use replication to facilite this Thanks for any input you can provide. Check out the topic " Optimizing Merge Replication Performance with Conditional Delete Tracking" in SQL Server 2005 Books Online. It offers insight into how merge replication may offer a way to do what you are looking for. http://msdn2.microsoft.com/en-us/library/ms151796.aspx Hope this helps, Tom This posting is provided "AS IS" with no warranties, and confers no ...Show All

  • Visual Basic I have a MediaPlayer and Upload .avi,.mpeg and other media files

    I have a MediaPlayer on Web Form.And I want to upload media files(.avi,.mpeg) and so my code any ASP.NET related questions should also be posted over at the ASP.NET forums: http://forums.asp.net ...Show All

  • Visual Studio 2008 (Pre-release) DLinq Designer / SQLMetal in Orcas January CTP

    Hello, Just looking at using Linq to SQL (Dlinq) in my final year disseration as it has some really interesting points for me to talk about. I was trying to create a database file (sorry, not sure what the true terminology is) using either the DLinq designer or SQLMetal but I can't seem to find it in the CTP. Will I have to wait until the Feb CTP or use the old May CTP to access this Or am I just missing something Thanks for your time. Ben In fact, it was known that LINQ to SQL wouldn't really appear in Orcas before the February CTP. ...Show All

  • Visual Studio Express Editions pages error

    my page1 is not recognised by my page2 by tis i mean tat the dropdownlist in page1 cant be detected in page2 here's the scenario i have a DropDownList1 in page 1 and i have TextBox1 in page 2 So i want the TextBox1.Text to display DropDownList1.SelectedValue so i put this TextBox1.Text = DropDownList1.SelectedValue but there's an error sayin DropDownList is not declared can anyone tell me how to solve this problem By Page do you mean form Are the controls on different forms If they then you have to fully qualify the reference. Form1.TextBox1.Text = Form2.DropDownList1.SelectedText You dont need to fully qualify the name if the control is on the form that contains the cod ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GraphicsDevice.Vertices[n].VertexBuffer is read only in Beta 2

    device.Vertices[0].VertexBuffer = vertexbuffer In Beta2 XNA tells me its read only. I used this in Beta 1, so how can i set the vertexbuffer to current vertices in the graphicsdevice in Beta 2 Call Vertices[0].SetSource. You almost always need to provide the 3 pieces of information that SetSource requires, so we made the properties read-only since people would often only set 1 of the properties (the vertex buffer) and then run into problems. ...Show All

  • Visual Basic Implicit ReDim - Is this a bug ?

    No cracks about the 'bug' is sitting at the keyboard Try this: <Code> Sub Test Dim a(0 To 9, 0 To 5) As String a = FuncX() End Sub Function FuncX() as String(,) Dim Ret(0 To 4, 0 To 5) as String < Code to fill Ret > FunctX = Ret End Function <\Code> When you check 'a' in Test, it has been redefined as Ret: i.e. (0 to 4, 0 to 5) No compile warning ... although I can see where it might be hard to checks this. No Runtime error - except when I try to use 'a' with the full dimensions. Is this a bug or is it intentional and I'm missing something (other than my mind for such poor code consistency). Roger Think about it this way, if you had that warni ...Show All

  • Windows Live Developer Forums problems finding a working SDK

    I need to make a Messenger bot for a client but having problems finding a working SDK. All of the three SDK's referenced from Live.com seems to be either unavailable or not quite working. Colloquis SDK is unavailable due to Microsoft purchase. Incesoft site is unavailable from time to time and I'm unable to register. Unable to attaining an license from Achronix / IMProvcenter. Which is needed for development. do you guys have a better suggestion on what I can do instead, are there any alternatives besides theese 3 SDK's /Carl Why don't you try dotMSN It is a good choice for .NET. cakewho wrote: I need to make a Messenger bot for a client but having problems finding a working SDK. All of the thre ...Show All

  • SQL Server optimize insert to access DB

    Hi, I'm using access tables to store my data. to retrive data I use jet odbc engine in c++. I want to insert a large amuont of records (about 20 mega records) to my database in the fasts way i can. if i use sql syntax (insert into table ()....) it's takes for ages (about 500 records per second). if i'm writing a csv file and then use import (via access) it's much faster but here I have two problems 1.I dont know how to use the access import tool from c++. 2.I dont think I can distributie the access import tool with my product. so my questions are : 1. Does any know any tool that insert records in an optimize way 2. How can I use the access import tool in c++ 3. Can i use the jet engine to import csv files thank ishay ...Show All

  • SQL Server Importing data using import service/DTS

    Hi, I'm using Sql server 2005 and I need to import about 15000 records from a txt file which is delimated using " | " character. Part of the problem is that the file has about 109 fields. The other part of the problem is that there aren't any headers defined. The field name and their respective data types are defined in a sepearte excel sheet. When I'm trying to import it using Sql Server 2005 import wizard, I would have to modify the names and the length manually and change the data types which is a time consuming job. My boss has claimed that he did it in Sql Server 2000 without using BCP utility and he got the table columns from the excel file (he didn't have to modify it manually somehow he import it) but he can't really remember !! ...Show All

  • Silverlight (formerly WPF/E) Any one have samples of 3D text (the code), like the ones in Joe Stegman video?

    Any one have samples of 3D text (the code), like the ones in Joe Stegman video I would like to do something like this, but have no clue where to begin. thanks Yes, the Flying text was really cool, i was looking to duplicate that. I hope the folks at Microsoft would put that in there Sample package. ...Show All

  • SQL Server Trigger for the same table !!!!! URGENT PLEASE

    Hi .... This is my problem ..... I have two table with the same structure (ID, DATE_1, DATE_2).... PLANS and AUD_PLANS. I need to create a trigger (FOR INSERT) that do the following things: In PLAN table i have the next row: (1234, '01/01/2006', '30/01/2006'). I need to capture these values to compare with the row to insert. How can i do this I try this into de Trigger Code .... DECLARE @FECHA_1_ANT AS datetime DECLARE @FECHA_2_ANT AS datetime DECLARE @FECHA_1_INS AS datetime DECLARE @FECHA_2_INS AS datetime Select @FECHA_1_ANT = P.DATE_1, @FECHA_2_ANT =P.DATE_2 from PLANS P inner join INSERTED I on P.ID = I.ID But the values for @FECHA_1_ANT and @FECHA_2_ANT are the same that the values to insert..... Please help m ...Show All

  • Visual C++ R

    Below are the codes that I found in a book to open a Graphics window using OpenGL APIs with the SDK of Visual C++ ... BUT... _____________________________________________________________ LOOK BELOW... //---------------------------------------------------------------------------- int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE, LPSTR acArgument, int ) { // #50 // register the window class static char s_acWindowClass[] = "Wild Magic Application" ; WNDCLASS wc; wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; wc.lpfnWndProc = WinProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInstance; wc.hIcon = LoadIcon(NULL,IDI_APPLICATION); wc.hCursor = LoadCur ...Show All

  • Silverlight (formerly WPF/E) WPF/e vs. HTML

    After reading Mike Harsh's blog post What WPF/e Really is . I'm kind of disappointed with the approach that the Architects are taking with WPF/e, as in that it augments HTML instead of replacing it. Why not Personaly I find that HTML slows me down in producing rich content for my users (something that WPF promises). Sure its easy, its fast, and we should keep it (not every website needs rotating letters). However, as I see .NET being used -alot- for mission critical application, I would only EXPECT WPF/e to take the fore front and upgrading the way we provide commericial services on the Internet in a fast, uniform way. Flash is doing this, Flex is not 'augmenting' the Web, its rewriting it. Share your thoughts. I like ...Show All

©2008 Software Development Network