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

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

supagu

Member List

Mark Sztainbok
Sten G
vgvKarthik
MaggieChan
smrobin
jbearfoot
Danny Tuppeny
Ntc
KevinBB
szolDat
ClaudiaHelpOnVSTO
Nagu
fatmav
iacido
Jackuline
patag2001
Dlloyd
CodeButcher
mishazh
manjuWicky
Only Title

supagu's Q&A profile

  • SQL Server Connect to external DataBase Via SQLExpress??

    Hi again... I guess this is yet another newbie question (Sorry if its been asked before!) If I have an IP address for an external SQL DB with valid User & Pass... Can I connect to it using SQLExpress on my machine If so can anyone point me towards how to do it, or run through it below (In easy steps as I'm dumb ) Hi, Yes, In the Server Name write your IP Address and Select Authenticaion Mode as SQL , supply your given credential and thats it!!! Once it let you in , right click on that IP Address in left corner and right click on it and select Register to Register the server. Hemantgiri S. Goswami ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to compile to run on all Windows Machines

    Ok ive been doing quite a bit of Managed DirectX programming with c# and its great! One thing though, when i want to show a friend of mine what ive made, how can i compile it so that i dont get any errors. I always get some kind of FileNotFound exception or FileLoadException when i try to run it on another PC with Windows XP. Ive included the .dll files that are in my DXSDK/Developer Runtime/X86/Managed. Ive linked with the DirectX assemblies. So far ive only used Microsoft.DirectX, Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX assemblies and ive included all 3 of those .dlls with my program. This problem happens any time i try to run the program on another pc without the DXSDK. My other pc that i tried it with has ALL windows ...Show All

  • .NET Development Passing Windows Identity to multiple servers

    I have a web application that uses Windows Authentication. From this web app, I want to call a web service. Now the tricky part is that I need to pass the identity of the logged on user to the web service as well. There may be some code within the web service for which I want to impersonate the user who is logged on to the web application. Can someone suggest anything on this Please help.. Its urgent. Hi; Try the following few lines... MyWebService ws = new MyWebService (); credintials = CredentialCache .DefaultNetworkCredentials; ws.Credentials = credintials; ws.HelloWorld(); ...Show All

  • SQL Server Text box with printing instructions

    How can I put a little text box next to my parameter box stating. Select " Acrobat (PDF) file " from the " Select a format " drop down and click on export before printing this report ...Show All

  • .NET Development NO error, but I got only part of what I want to get.

    No error was complained! The following program is to write a whole year's month,day,weekday in a MSSQL table. But somehow, for many times I have tried, but each time I got only part of what I intend to get: the whole year with 12 monthes, instead, I only got 3 or 4 months' content in the table. Can anybody tell me why   calendar.dll using System; using System.Configuration; using System.Data; using System.Data.SqlClient; using database; namespace calendar {     public class calendar     {          private int _nian; //year          private int _yue; //month          pr ...Show All

  • Smart Device Development Discovering OS version / device model number programatically.

    Hello. We are developing the same app for 2 different devices. They are running WM 5.0 and WM 2003. The proxy string which one uses does not work for the other and vice versa. One likes "192.168.10.3" and the other likes "http://192.168.10.3". So I need to discover at run-time either the OS version or device model number. I've not been able to find this info anywhere. Does anyone know of a way to do this Thanks in advance Lee. I make a call to KernelIoControl in a C# program to get the device ID and platform ID. The device ID is typically the serial number of the device. The platform ID is typically the model number of the device. I can upload sample code if needed, or you can review t ...Show All

  • .NET Development problem in client/server application

    Hi every one, I developed a client/server application . client connect to server correctly if both are under the same router (in the same Lan) , but the problem arised when the client and the server arenot in the same Lan they cant connect together. I checked the router configration ,it was correctly setup. please if you have expirense in this problem help me. Thanks for reading my message------------ HI everyone , thanks for your helping I tried to use IPAddress.Pares("MyServerIP",portNumber) it caused an ArgumentException. I tried to use also listener=new TcpListener(IPAddress.Any,portNumber) but i didn't observe any chage!! The strange is that : I tried to run th ...Show All

  • Visual Basic Side-By-Side deployment of COM Components

    I'm trying to deploy a COM application written in VB6 on XP machines in a side by side mode.   The application consists of EXEs, DLLs and OCXs. The DLLs work fine however, the OCXs give a problem.  If the OCX is drawn on the EXE screen it loads & shows OK (suggesting the the manifest for the OCX is ok).  However, dynamically loading the control using Controls.Add gives a runtime error of 336 - Component not correctly registered.  This happens only for Public controls and not the private ones. Does anyone know why and is there a workaround   I can't make the controls, that give an error Private, since there are being accessed from several other external components. ...Show All

  • Visual C# while (true)... need help!!

    I thought I knew quite a lot about programming but when I came accross a bit of code like: while (true) { ...do something... } I had no idea how this works... I know that it's a conditional loop and while it is true it loops through performing whatever tasks there are to do... BUT what is the (true) part how does that work if it loops while(true) what would make it false since it's not a local variable or anything and you cant say IsRunning = false; it just always is true... Does it mean that while app is still running or something... That's the only solution I can come up with is that it means while( app is running){...}... Am I right Can someone please take the time to explain this to me and maybe give me the proper name for referring ...Show All

  • Visual C# How to enable formatting toolbar

    Simple question I'm sure - but I can't find the option. I'm using VS 2003. Simple Windows Form C#. I have several text boxes and labels on the form. I have the "Standard" and "Formatting" toolbars visible. But the Formatting toolbar is not enabled (i.e. it is "greyed out"). Selecting objects such as a label or textbox does not enable the formatting toolbar. Common sense (is it really that common) tells me that if I can see the formatting toolbar, I should be able to use it, unless there is an option somewhere that has it turned off for some sort of safety reason. I'm the developer -- I really would like to use this formatting tool --- easier than going to properties window for each individual control on the f ...Show All

  • Visual Studio Team System VSTS Object model unusable in SQL SSIS script task

    I have some simple VB.Net code to update workitems using the Microsoft.TeamFoundation (and .Client and .WorkItemTracking) assemblies. I need to move this into a SQL SSIS package using the script task, but I'm unable to add references to any of the Microsoft.TeamFoundation dll's in the "Visual Studio for Applications". The assemblies show up in my .net 2.0 framework just fine (and work in my VB and C# apps), but they don't show up as a .Net reference when editing the script in SSIS. If I try to directly add the .dll directly as a Custom Component Set I get the error: --------------------------- Microsoft Visual Studio for Applications --------------------------- The following components could not be browsed: C:\Program Files\Vis ...Show All

  • Visual Studio Express Editions universal variables

    Okay, I'm not sure if it's possible, but here goes: I know that in VB6, it was possible to declare a variable in the declarations (at least, I always did, and it worked) and then it would be there for the entire program. However, converting one of my projects over into VB2005, I have run into an error. In all of my subs, the variables are now "privately" declared, and I have no idea how or why it doesn't work anymore. My coding resembles this: dim a, b, c, d, e as decimal Private Sub Button_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Button.Click Call determine_variables(a,b,c,d,e) Call show_variables(a,b,c,d,e) End Sub Sub determine_ ...Show All

  • SQL Server Generate documentation of tables and columns?

    Is this possible the tables has a field called description and so does the columns. I need to generate a data dictionary. I think your connection string is wrong: Executing query to: server = (local) ; database = ImbFiordlandProdApp ; Trusted_Connection = yes ; should be: Executing query to: server = networkservername ; database = ImbFiordlandProdApp ; Trusted_Connection = yes ; that is, get rid of the parens. when you are calling net work srever from local workstation should use string without paren i hope it woks ...Show All

  • Visual Studio Express Editions Newbie About Box Question

    I added the about box template to my project. I went ahead and changed all the labels to fit my project. I'm using Form f = new AboutBox1 (); f.ShowDialog(); to display the form but when run all the labels are back to using their default values. I know I can change them in code after I create the forum, I'm just curious why this isn't working the way my brain expects it to. Thanks... Darren DRamey wrote: Ahem, I just figured out the problem after composing a 3 paragraph reply. I never did bother checking to see if there were any default values being assigned in the code of the about box itself.. Nevermind! Thanks for the reply anyway, it got me thinking :) When you solve a question by yoursel ...Show All

  • Windows Forms error when refreshing dependencies

    Hi We've updated our visual controls to the latest release version (infragistics) and need to refresh the dependencies on the setup and deployment project - when I do this I get an exception, with the message "The operation could not be completed. Exception occurred." Thanks Bruce S'pose I could try that - worried it might make matters worse though Build messages I get include: Error 11 Unable to update the dependencies of the project. The dependencies for the object 'Infragistics2.Win.UltraWinTabControl.v6.2.dll' cannot be determined. C:\dev\ardex\premierV6\Ardex Premier Installer\Ardex Premier Installer.vdproj Ardex Premier Installer That is the version which has been superc ...Show All

©2008 Software Development Network