Software Development Network Logo
  • Visual C#
  • Visual FoxPro
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Smart Device
  • Visual Basic
  • Visual C++
  • Visual J#
  • Windows Forms
  • Architecture
  • .NET Development
  • VS Express Editions
  • Visual Studio
  • Windows Live

Software Development Network >> srinivas jani's Q&A profile

srinivas jani

Member List

Scafe
mnTeddy
9_Phill
Keyth
Christoph_S
rboarman
dlgross
Leonard French
tonyr1977
gaorellana
JCakeC
George Eckert
Manivakkam Krishnan
Maxhec
Taurineman
Ivan Hou
DamienAtCox
ShreyN
Tyler Whitney-MSFT
dhtroy
Only Title

srinivas jani's Q&A profile

  • SQL Server Remove identity

    Hi all, Is there a way to remove the identity from a column by using alter table thanx Hi, "disabling" the property does the things behind the scenes I mentioned in my earlier post. In SQL 2k (I didn't check that in SQL2k5 right now) it did a creation of a new table, copy the data to the new table, and renamed the table vice versa to the new / old name. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Assembly strong binding

    Hi, I have strange problem: I try to build .NET application which use Microsoft.DirectX assembly, but i have installed more than 1 version DirectX SDK on my PC and now i have such problem: //=========================================================== Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' C:\Documents and Settings\LLIAMAH\My Documents\Visual Studio 2005\Projects\DirectX 1\DirectX 1\FMain.cs 16 38 DirectX 1 //========= ...Show All

  • Windows Forms .NET ASCII printer support

    Hello, I want to write an application that sends commands to a barcode printer. It can be programmed with text commands like "<ETX>", which need to be send as normal text. In .NET framework text can be printed with Graphics.DrawString, but it will be converted to graphic output then. Has anyone an idea how to send normal text to a non-graphic printer Tank you in advance for your comments User77 ...Show All

  • Visual Studio Express Editions Newbie lost in socket programming with error "An existing connection was forcibly closed by the remote host"

    Hello, I'm trying to develop a tcp/ip request forwarder using system.net.sockets and VB 2005 I read somewhere not to use TcpClient and TcpServer for performance concerns... So I've been trying for 2 days without any success with following code. Any help would be really appreciated Dim theIPEndPoint As System.Net.IPEndPoint = New System.Net.IPEndPoint(System.Net.IPAddress.Loopback, 81) Dim ServerSocket As System.Net.Sockets.Socket = New System.Net.Sockets.Socket(Net.Sockets.AddressFamily.InterNetwork, Net.Sockets.SocketType.Stream, Net.Sockets.ProtocolType.Tcp) Dim ClientSocket As System.Net.Sockets.Socket = New ...Show All

  • SQL Server How large is 4 GB

    Hi, All. New to SQL. Just downloaded SQL server Express 2005, Web doc says its max limit is 4GB, Need to know how large a 4GB can hold. The data shall be like holding company info, say: company names, locations, line of business, phone, etc. It needs full-text search on it. Is this Express is the choice to go P.S. I might duplicate the posting, just to get wide_based input Thanks. Hi Larry, I suppose the question is: how many rows of company data do you wish to store I can type a paragraph on how to perform some capacity planning (rows+index etc) but I don't think this is really what yo ...Show All

  • Visual Basic Using Graphics to paint on a picture

    I'm trying to add a square to a picture using the graphics member, but they don't show up. Assume that the variable theSelectionRect is a RECT, and is updated in the MouseMove event of the picture box. The rect is basically a 64x64 pixel rect, where the top right corner is the mouse position on the mouse move event. In the code, i clear the previous drawn cubes using e.graphics.clear Then i draw the picture box's loaded image, using e.grpahics.drawimageunscaled. Then, i draw my 'tracking rect', using e.Graphics.DrawRectangle. What is happening is the little rectangles i'm drawing aren't showing up. If i add a line to refresh the picture box, ...Show All

  • Smart Device Development Inheritance turned off

    I made no changes to the base class and it doesn't use P/Invoke, but when working in one of the forms inherited from it I got the following message in the design view of the form and now it shows up in all of the froms inherited from the base form: Visual inheritance is currently disabled because the base class references a device-specific component or contains P/Invoke   What's going on and how do I correct this Hi rsChild, You have added a device specific component/control (such as Input Panel)to your base form. Hence, you see this message.This is a known bug and this might get fixed in t ...Show All

  • .NET Development Determining which processor a thread is currently running on

    I realize that by using: ProcessThread.ProcessorAffinity i can set which processor I can have thread run on. But if I dont set a processor preference, is there a way to determine which processor the thread is currently running on I could not find any methods or properites to help with this in both the Thread and ProcessThread class. Thanks, Randy The GetCurrentProcessorNumber function returns the number of the processor the current thread was running on during the call to this function. DWORD GetCurrentProcessorNumber( void ); Parameters This function has no parameters. Return Values The return value is the ...Show All

  • Visual Studio Express Editions How do I get "TextBox1.Text =" to display to a new line?

    I plan to have a series of GroupBoxes with RadioButtons in them. When the user clicks the "Next" button in each GroupBox, I want to list all of the choices that he made on the screen. I placed a TextBox on the form to hold his choices. (Was this the way to do it ) When I used the " TextBox1.Text = " command to display the choice, the second choice replaced the first choice! When I used the "TextBox1.Text = TextBox1.Text &" command to display the choice, both choices appeared on the same line. I wanted the second choice to appear on a new line. Also, is there a way to pick up the text associ ...Show All

  • Visual Studio 2008 (Pre-release) Dynamic type loading

    I'm trying to dynamically load types from a dll and pass the newly created objects through WCF. Is there any way to do this Dynamically load data contracts KnownType attribute I suppose the main issue is the actual method call itself. Since the type isn't known at compile time, I've been using Object, but testing reveals that specifying "Object" then passing a type with a data contract still doesn't work. Any help would be appreciated! Hi! I'm trying to do the same for my type and my config section looks something like this: <system.runtime.serialization> <xmlFormatter> < ...Show All

  • Windows Forms Making my form visible to other classes

    Hi, Im writing a program in managed c++ in which there is a class called "World" and a form "Form1" amongst other things. I would like 'World' to have a pointer to my form so it could access properties in that form. So I have declared a static data member in World.h of type Form1 which required me to make a forward declaration of Form1 in World.h. However when my form is created and it tries to pass a reference to itself back to World to hold in the static data member I get the error "cannot convert from 'testproject3::Form1 ^const ' to 'Form1 ^' " Trying another approach I changed the type of the pointer in 'World' to 'Form' and ...Show All

  • Visual C++ CPU Utilization value

    hi everybody i want to obtain the value of CPU utilization of a system. But i want it using .net2003 and XP.....please suggest me a way out of it Thanks kunal s patel Use the System::Diagnostic::PerformanceCounter class. int main(array<System::String ^> ^args) { System::Diagnostics::PerformanceCounter^ performanceCounter1 = gcnew System::Diagnostics::PerformanceCounter(); performanceCounter1->CategoryName = L"Processor"; performanceCounter1->CounterName = L"% Processor Time"; performanceCounter1->InstanceName = L"_Total"; Console::WriteLine(perfor ...Show All

  • Smart Device Development VS2005 CR1: Failed to open vpc network driver

    My emulator is working fine except it can't connect to the network. Here are the steps: 1) Try to use Pocket Internet Explorer, type my favorite web address 2) Got the following bubble message: Cannot Connect, Unable to connect: blah blah 3) Dismiss the message, go to Setting-> Connections-> Network Cards 4) It says "My Network Card connects to: Work" (Good) 5) On the emulator window -> File -> Configure -> Network -> Click on Enable NE2000 PCMCIA network adatpter and I get the following error message: Failed to open the VPC Network Driver. Verify that the driver is installed, or install the driver from the Web downloa ...Show All

  • Smart Device Development Installing .Net Framework 2.0 (KB829019)

    Do you need to uninstall .Net Framework 1.1 before installing .Network Framework 2.0    Yes. MIIS2003 doesn't use Framework 2.0, and 2.0 doesn't recover 1.0 and 1.1 - it's independents. But this update (KB290019) has some critical things, that are brake MIIS. RollBack this update - and MIIS work correctly. I thinking, Microsoft knows about it, and it publish new KBxxxxx with .NET FrameWork 2.0, but without this error. (sorry for my english) ...Show All

  • Windows Forms How to extract text from string

    Hello readers, I have a string which is a stream of a URI. I would like to know how I can go about extracting text from that string  I only want to save certain text that show up on the web page, to a table and discard the rest. Thanks for all suggestions and input. It sounds like you're saying you want me to give  ...Show All

©2008 Software Development Network