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

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

ddoolit

Member List

bill_csharper
Zulbaric
John Cogan
b490007
Julian V
eldiener
Simon Heffer
digitalslavery
Jutsin Leung
TOM_MUE
VincentShi
ruckycharms
sigurdr
Diego Vega - MSFT
Andrew Buyan
zdrae
Zeitune
v_praveen
hye_heena
Tom Janssen
Only Title

ddoolit's Q&A profile

  • Visual Studio Express Editions running functions

    Hi All, I am new to C#, so my question may seem a little weird: I have this code: private void PrintPages () { PrintFirstPage(); PrintInformation(); } What I want to do, is that the user loads a page in the browser and I print it right when it is displayed. It is working fine, no problem. I want to print an "information page" after it. My problem is that the document the user loads is 10-15 pages long, the information is 1. As I see everything is sent to the operating system ( ) after the last "}". I was trying to find a way to send the contents of PrintFirstPage BEFORE PrintInformation is processed. I don't seem to find a solution. I have tryed Application.DoEvents(); bet ...Show All

  • Visual C# VS 2005 IDE Bugs, problems and suggestions

    Hello, I can't find a way to submit bugs or suggestions regarding VS. So here's a topic for that. Apparently bugs in the VS 2005 IDE: - the Document Outline window doesn't show XML files structure as it did in VS 2003 - when an item is selected in the Class View window (e.g. a namespace or a class), the item's properties are not displayed in the Properties window, as it was in VS 2003. Regards, Ruslan Guys, Thank you for the information and the link and the prompt reply. I didn't expect to get the information from the first hands, it's a good surprise! I used of the Properties window for the class view to quickly get full namespace names and some basic info about members. I develop a ...Show All

  • .NET Development Problem with SQL Server 2005 and IIS 6.0

    Hello, I am having problems with my system configuration. I am trying to access a SQL Server 2005 database from a C# .NET web page, but I keep getting this error, " Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'". I am using windows authentication. The SQL Server resides on one server and my web server is on a different server. If I run the both the web server and SQL Database from within the same server it works fine, the problem comes when I separate the servers. I am running Windows Server 2003 on both servers, MS SQL Server 2005, MS Visual Studios 2005, and IIS 6.0. Here is my Web.Config file: < xml version = " 1.0 " > < configuration xmlns = " http://schemas.microsoft.com ...Show All

  • Windows Forms controlling font size of CSV or excel

    Hi, I want to output some information in an excel sheet or CSV or notepad from my application and I want that information to fit in one page so that user can print the output file on one page without adjusting the fonts manually. Can I specify the font size of the excel sheet from my application, so that user wont have to adjust the font sizes in order to fit all information in one page Thanks, Hi, Please go through the following link. This link shows on how to work on excel object model from .net http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2003_ta/html/ExcelObj.asp thank you, bhanu. ...Show All

  • Visual C# C# Vista Issue

    I am not sure if this is the correct location but I am getting an exception when I am running this piece of code in Windows Vista while logged in as a user: System.Diagnostics.Process.GetProcessesByName( proc, System.Environment.MachineName) Is there a different way to run this I am using .NET 1.1 framework for development. I am not sure if this is the answer but what I found on another forum is to add the user to the "Performance Monitor Users" group. I will check with the client getting the bug and make sure this is the fix before I mark it as the answer. ...Show All

  • Visual Studio user cannot log on to vss

    If we have VSS 6.0d installed on a workgroup computer, a domain user trying to connect the VSS database gets the following message - "Unable to open user login file \\VSSserver\VSS\data\loggedin\user.log " But the user is able to connect the database on local machine i.e. VSSserver. Is it necessary that the vssserver should be the member of domain VSS tries to create user.log files when opening the database, and it's failing for some reason. In general such message means that the user doesn't have write access to the share. You should check the share permissions, the ntfs permissions on the VSS database folder to allow R/W permissions for the Windows user accessing the share. Ali ...Show All

  • Visual Studio Team System Test Team Collaboration

    I am a Newbie to VS2005; when I create a test case it is stored on the local machine’s C: drive; once developed we want to be able to share our test cases among the multiple members of our test team and to manage them under document control. I have investigated but, as yet, do not see how this should be done properly. Is the recommended method to create a TFS Task Work Item for each test case Lester, we store the test documents (word docs) under Team project in windows sharepoint services. This gives versioning of documents and also these documents can be accessed in Team Explorer under Documents node. Creating workitems for those documents may be useful if you want to track their states or progress ...Show All

  • Windows Forms Eating MouseWheel Events

    I have a PixtureBox placed in a panel with AutoScroll enabled. I use the mouse wheel to zoom in and out of the image. I was able to add the mousewheel event code and this is working just fine but the image not only zooms, it scrolls with the mouse wheel as well. I would rather not have the image scoll due to the mouse wheel. I have seen examples for C# to use WndProc() to capture the WM_MOUSEWHEEL msg, but I can't seem to get these to port to C++. I have tried the following (Based on the only C++ example I could find)... void WndProc(Message* m) { const int WM_MOUSEWHEEL = 0x020A; switch (m->Msg) { case WM_MOUSEWHEEL: //TODO: Image Zoom Code Goes here... break ; } Form::WndProc(m); } This giv ...Show All

  • Windows Networking Development Vista RTM can't open new socket.

    Started here . Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all existing internet-connected programs (WLM, Skype) are running. PC even is accessible via RDP. No any entries in EventLog relating to any problem with sockets. "Event 4226" appears in absolutely different time, not in time when connection was blocked. Only reboot or (sometimes) "Network Connections" (and ICS) service restart can help to revive network back to live. This problem is accepted by many people (see post on Channel9). Any settings in registry ...Show All

  • Visual C# How can I check if the datasource is writable?

    Hello, I'm using ADO.NET & MS Access. I'd like to know how can I determine if the datasource is writable. I mean what if the user if running the application from a CD and I try to update a row Is there a special exception thrown or something .NET Framework version: 2.0 Please advise. Thanks. Let me answer with a question. Do you want to learn how to program There's nothing wrong with asking for help, and I love giving it, but you seem to me to be asking a lot of questions and not showing much sign of learning how to do things off your own back. I've deliberately given you the info you need to browse the MSDN or refine your google search to find the information that you need, in the hope that you' ...Show All

  • Windows Forms Datagridview::copy row including hidden column to another datagridview

    I have SourceDGV whose Column1 I hide programmatically. How can I dragdrop copy SourceDGV's selectedrow including the hidden column to TargetDGV and keep that Column1 hidden on TargetDGV Thanks for any help ! The following code might be useful. Instead of dragging the selected from dgv1 to dgv2, i select a row on dgv1 and click the button on the form. then the selected row will be copied to dgv2. one of the columns in dgv1 is hidden. public partial class Form1 : Form { DataTable dt = new DataTable(); DataTable dt2 = new DataTable(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { dt.Columns.Add("col1& ...Show All

  • Visual C# Check to see if Directory is being written to

    Is there a way to check to see wether or not a directory is having data currently written to it Thanks. There is not such thing, even if there was such thing it will not be usefull. You can be in a middle of operation when some new file is writen. You should try to read and remove files that are not writen in that moment. If this is the case, your read or/and move operation will fail. But that is ok, you will get that file(s) later. When working with filewatcher, and especially when you have such a situation when plenty files are writen, you must have a backup strategy, for example timer event on which you will check if some file is missed out from the last file change event. ...Show All

  • SQL Server Table logic?

    I am just getting started with the integration between SQL Server and ASP.NET 2. I am at a loss of how to move data in and out. I need to track a vehicle inventory, properties to be track are, year, make, and model, color and so on. These have not presented me with much of a problem; however the vehicle options have left me totally confused. I have an Options table and a Vehicle table. The Options table has a numeric primary key OptionsID, and a field for the option. The Vehicle table has a numeric primary key, VehicleID. I have tried using a join table named VehicleOptions with two fields, VehicleID and OptionsID. I have tried a join table (VehicleOptions) with a field for the VehicleID and separate fields for every Optio ...Show All

  • .NET Development Strange SQL connection problem.

    I am building a windows forms app and I get this error when I connect to the DB The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. The strange thing is if I put a breakpoint at the line that causes the error ; SqlConnection con = new SqlConnection (ConnStr); Hit the breakpoint and then F5 to continue, the code runs fine . The code only fails if I do not have a breakpoint on that line of code. The database is a SQL2000 db on another box referenced by an IP. Thanks for any help or ideas on this. PatC Without knowing or seeing the rest of your code, I'm going to take a stab and suggest you look at flushing your buffer. System.Windows ...Show All

  • Visual FoxPro VFP9 Soap Server 2003

    Hi, I've written a VFP Soap Service and successfully tested it on LOCALHOST. When I deploy to server 2003 I keep getting the following error: "Error: 1429 - OLE IDispatch exception code 0 from WSDLOperation: WSDLOperation:Instantiating the dispatch object for method UpdateOracle failed HRESULT=0x80004005: Unspecified error - Server:An unanticipated error occurred during the processing of this request. HRESULT=0x80004005: Unspecified error .."associated the WSDL with SOAPIS30 I have deployed the VFP Runtimes on Server 2003, Installed SOAP 3.0, .DLL and allowed all unknow iSAPI extensions ... but no luck. However, if I install VFP9 Development then everything works!!. I have then proceeded to track the cha ...Show All

©2008 Software Development Network