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

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

TusharSinha

Member List

bob yoplait
Nick K.
AvalonWGI
Chiisana
kicks_joy_darkness
Mark Freeman
mabster
Mainiac007
Ultrawhack
AlxJ
Jason_B.
NeilL
Sigfuss
Seekaye
laboremus
cubexsystems
Chuck S.
Eugene Ye
vb_n00b
coolcars
Only Title

TusharSinha's Q&A profile

  • Smart Device Development API for re-sizing the dialog box based on screen size

    Hi all I am new to developing user applications for wince devices. Recently I created a dialog based application for wince. Since I was using CEPC X86 for testing during development, the dialog size and layout was perfect for a normal desktop monitor. But when I tried to run the same application on a main-stone board, which had a very small screen size, the dialog size and layout were totally out of bounds off the screen. Is there any API which can dynamically changed the dialog size based on the screen size ...or do I need to write logic for this myself to make dialog adapt to different screen sizes. Regards Yes, you need to write that logic yourself. NETCF V2 has docking and anchoring to help you, but it’s up to y ...Show All

  • Visual Basic Another bug with the VB.Net 2005 IDE?

    When I layout a form and set the size of the form within the IDE the form looks just fine, however when I run the program the form is displayed with about 1/2 inch cut off at the bottom. I put in Private Sub frmCompanyMnt_Activated( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Activated MsgBox( Me .Size.Height & " " & Me .Size.Width) End Sub And it tell me the exact size that is set in the forms property window but the actual display is still 1/2 inch missing along the bottom. Is this a known bug or could this be related somehow to the conversion process I took a vb.net 2002 project and converted it into vb.net 2005 and the conversion apparently trashed abo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating an entity problems - (Not camera)

    Hi, I'm trying to create a rotate(float pitch,float yaw,float roll) function for my entity class, (The camera one works fine) but despite it working sort of, the model locks up at certain angles(I.e becomes very stiff and hard to rotate, like gimble lock but worse) Here's the function in question [code] public void Rotate( Vector3 Rotation) { Matrix m1 = Matrix .CreateRotationX( MathHelper .ToRadians(Rotation.X)); Matrix m2 = Matrix .CreateRotationY( MathHelper .ToRadians(Rotation.Y)); Matrix m3 = Matrix .CreateRotationZ( MathHelper .ToRadians(Rotation.Z)); LocalRotation = m2 * m3 * m1;   Update(); } [/code]   I've tried every order possible, doesn't make any differenc ...Show All

  • Visual Basic YOU ARE A GENIEUS--Reed Kimble --THANK YOU SO MUCH Just a Minor Ajustment to make it work MAKE E.CANCEL = FALSE ---

    I have this code whre I want to open a new window within browser1 of my form8 Instead I loose control of the browser and by loosing my session Private Sub WebBrowser1_NewWindow( ByVal sender As Object , ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow e.Cancel = True Form8.Show() 'Form8.WebBrowser1.Name = what goes here I am not sure what to do here 'Here I am forcing the opening of this specific website/I want to open whatever url is clicked Form8.WebBrowser1.Navigate( http://www.accountingonline.us/invoice/index.php page=open ) ' Form8.WebBrowser1.Navigate(sender) this did not work End Sub I neglect some of the details: Here it comes I ...Show All

  • .NET Development Error while running an Asynchronous Server/Client

    Im running a simple Server/Client application using TcpListener and TcpClient for (asynchronous) connecting and NetworkStream for asynchrous sending and recieving. When i try to terminate a client, the server and all other clients crash and give this exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. " at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)\r\n at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)\r\n at System.Threading._IOCompletionCa ...Show All

  • Visual C# How to always force rebuild C# project?

    Hey I have this C# project (.csproj extension).  I want to have it always rebuild every time, regardless.  How do I do that   Is there a flag or something I can manually throw into the project file (xml tag) Whenever devenv is called on the project to build it. Ok well that is a good point.  Lets say for simplicity sake that there is only one project.  There isn't even a solution file (though an .sln file will be auto-generated every time you open the project in Visual Studio). project.csproj code.cs   One project file and one code file.  The output of running the build process on the project will result in (among other things) a dll. ...Show All

  • SQL Server Error: duplicate key row

    What might cause the following error when inserting rows in tables that have primary keys defined as IDENTITY (1,1) duplicate key row in object 'aa' with unique index 'aa' Can you post the table structures That would help us to see what your problem might be. If you can post a few statements that cause the duplicates, that would even be better. ...Show All

  • Windows Forms Using ActiveX in C#

    Hi, I have created an ActiveX Control some years back, which i wanted to use in my current C# program. I'm able to instantiate it, but unable to use any of its functions, because it is throwing exception, i even checked the GetOCX property, it is also returning null. AxMyActivexCtrl obj = new AxMyActivexCtrl(); obj.Location = ......... obj.Size = ...... obj.Parent = this. try { obj.fun(); //one of the function exported by activex control, but exception is being thrown. } catch( AxHost.InvalidActivexStateException e) {} object temp = obj.GetOCX(); // even temp is null i studied MSDN, i found that this exception is thrown if ActiveX object is not instanstiated and not properly initalised. ...Show All

  • Visual Studio 2008 (Pre-release) update existing disconnected objects (dlinq)

    I have been doing few tests with DLinQ and i have ran into a small issue. I return a disconnected object, which i modify its properties, collections(adding new or modifiying existing items ) then when i am all done with my adding/updating of properties and collections, i just wanna do a simple .Save of some sort that will generate updates and inserts where necessary. I think the .Add (of the collection of the object) method should be smart enough to look at a object, if the PK is provided it and valid it should actually do a Update instead of Insert on the main object and vise versa for the items in the collection. The example am doing is as follow I got a Entity caled Project, and Project has a related table called ProjectItem ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision

    Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All

  • Visual Studio Express Editions print compression when deployed

    I have a report being utilized for return address labels, conforming to Avery 5167. I have tried designing both as a table and as data in rectangles. Since these are return labels their is only one instance of data replicated for all textboxes, therefore the columns are of consistant length. The report has seven columns of precise measurement, the data filled colums are set as 1.75in, 0.25in, and between the data columns are blank columns set to .3125in, 0.25in. I have also tried to fill data into the blank colums and set the font color to white. All report margins are set to 0in and the table location is 0.04167in, 0.125in. all textboxes have the properties for increase/decrease to accomadate turned off. The biggest issue I a ...Show All

  • Windows Live Developer Forums Reading excel file with Lat Long and Label

    Hi all: I would like to know if there a way to read an excel file with Lat, Long, Label data and display them directly into VE Thank much! -Peter Yep you need to get it into an XML format. If it is a simple set of data look at the GeoRSS format whihc you can simply add as a layer, if you have many points I would look at reading the xml data yourself in javascript or server side and adding the pins as normal. John. ...Show All

  • SQL Server debug in sql server 2000

    Hello guys! I am trying to debug a sql procedure inside query analyzer but I can seem to step into each line. When I run the procedure it doesn't stop in the breakpoint I set. By the way I am running in a client pc.. Please help guys! ...Show All

  • .NET Development Help Creating a Wrapper

    Hi, I am fairly new to .NET development but i was wondering if anyone could help provide me with information on how to create a wrapper to use in a C# application. I am creating a Vision application and want to use the OpenCV library so i need to create a wrapper in order to use this. I have had a look at the SharperCV project and it seems very good but development has stopped on this project so i wouldnt like it to be my first option. The SharperCV implementation is based on and older version of OpenCV. What I want to know is whether there is a standard way of creating wrappers for libraries such as the OpenCV library so that i cn pick and choose the functions i need for it and not have to wrap every single function because as you likely ...Show All

  • Visual Studio 2008 (Pre-release) Dynamically load and compile services from virtual paths

    Hi, I would like to know if it is possible to load and compile WCF services from virtual paths hosted in IIS 6.0. This would be simular to the ASP.NET 2.0 (ref KB 910441) And if possible, are there any sample code available. Thank you very much in advance. Johan. ...Show All

©2008 Software Development Network