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

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

ahur

Member List

knallbunt
Daniel Kornev
SirTom
hank voight
Daniel Wheeler
Hitesh811
David J Anderson
benconnol1y
Warren POiD
glchapman
D. Omar Villarreal
Topmcsd
Leon_irl
MarcusCuda
Jurgen Postelmans
faustoi
ashna
Ray Hastings
meeeeeeeeeep
Randy the new guy
Only Title

ahur's Q&A profile

  • Visual C# How to store a TreeView state and restore it back

    hi everyone, My code looks like this dataentryTreeView.Dispose() ; // disposes off the old tree InitializedataentryTreeView(); // again rebuilds the tree with the updated information return true ; Everytime i add,update or delete a node from my treeview it disposes the old tree view and rebuilds a new tree with updated information but the problem i am loosing the previous state of the tree view so it's becoming hard to navigate again and see where we have added the node. could anyone help me in saving the state of the treeview before i dispose off the old treeview and restore the state back again after rebuilding th ...Show All

  • Visual Basic How to open a dialog dynamically

    I want open a user written dialog of which I determine the name only at runtime. This means I have Dialog name in a string variable. Normally I open the various dialogs using a Select Case statement, but it seems that this coding can be a lot more simple if I can solve something on the New part in the following snippet dim DialogToOpen as string dim dlg as new form DialogToOpen = "Dialog1" dlg = Dialog1 <---- this is where I need some advice if I could write: dlg = DialogToOpen that would be the answer, but you cannot assign a string to a dialog object! Or maybe you can if dlg.showdialog = dialogresult. ...Show All

  • Visual Studio VSS Internet over HTTPS using forwarded requests

    Hopefully this is solvable but... Here is the setup that I am using which partially works: HTTPS Server (Routes calls to our internal HTTP server)     https://secureserver/hop1/appname/SourceSafe/VssService.asmx HTTP Server (VSS Internet Server)     http://localhost/SourceSafe/VssService.asmx So I have everything working internally but when I connect to this configuration externally through HTTPS it fails on the "Get Latest" (and likely all other requests) indicating a URL of https://secureserver/SourceSafe/VssService.asmx I understand what is happening is that the VSS Site is using a relative URL ...Show All

  • SQL Server Dot Matrix Support

    We are in the process of deploying a custom app that utilizes SQL Reporting Services – we want to print to a Dot Matrix printer but I can not find any information from MS indicating that they are supported. The problem we are running into is how the data is getting to the printer – I am not sure if SRS send the data as an Image or RAW. Based on the output we have I believe that it is an Image – I am not a programmer all I need to know is how the data is getting to the printer and if SRS supports Dot Matrix Printers. Any help on this would be greatly appreciated. Respectfully – ingram ...Show All

  • Windows Forms How to calling C functions

    Is it possibel to call C function from C#.Net I have a third dll that include hardware access functions written in C. Thansk in advance lei xu If it's a COM DLL you should be able to do that without a lot of trouble. ...Show All

  • Windows Forms ABsolutely no break-points work. ?!?!

    Hi everyone, Using Visual Studio .NET 2003, I have some code where I'm trying to set breakpoints. I put in the "red dot" in multiple locations. It's solid. When I hit "F5" to run the application, all the breakpoints suddenly turn into the red dot with the question mark " ", with a notification saying the "break point will never be r ...Show All

  • SQL Server SQL Server Express Security?

    We are releasing an application built on SQL Server Express in the next few months.  Our clients are mostly small companies with little technical knowledge, and they will be using our application on desktop computers where everyone likely logs in as the same user.  As such, my thinking is that we setup SQL Server Express as in SQL Server Authentication mode.  This way they could select an Administrator password upon first installation, and manage user names and passwords from within the application itself.  Any thoughts   Also, how would we install this scenario   We haven't been able to figure out how to custo ...Show All

  • Visual Studio Team System How To: Connect to 2 different TFS Servers

    My Add existing Team project button just locks up on Beta3 Refresh Any idea why I have one server connected and it seems to be working ok. Jeff I just figured out that the Add Team Project button locks up because of a multi-monitor bug. For whatever reason when I have two monitors (even thought I am only using the primary one for this) active the dialog is nowhere to be found. After killing VS and turning off the second monitor the dialog shows up. Jeff ...Show All

  • Visual Basic Capturing data from one form and entering it in a second form

    hi guys, another dumb question :-) hate being new, but I'm getting better. I'll try to explain what I'm trying to do and hopefully one of you can help me. I have created two forms. (and a third coming) Both forms have a textbox which I want to have the  NameContractGiver. I only want the end user to type the Name in the textbox once and then have it appear in the I have to do this with a few boxes so I need to undestand how it works. thanks a million. (Hope I can do the same one day :) There are several different ways to accomplish your task....but the basics are to have a public object exposed...here ...Show All

  • Visual C# FileStream and writing out in chunks

    hi all, i have a byteArray i read into from a httpposted file, i would like to write it to a new filestream in chunks of a size i specify. I can write the file out no problem at once, using myFileStream.Write(byteArray,0,postedFile.Length) but i want to break it up into chunks so that it stores smaller amounts at a time and doesn't kill the aspnet_wp. i have tried FileStream newFile = new FileStream(fullSavePath + sFilename, FileMode.Create); int pos = 0; int length = 128; while(pos < nFileLen) { if(length > (nFileLen - pos)) { length = nFileLen - pos; } newFile.Write(myData,pos,length); pos = int.Parse(newFile.Length.ToString() ...Show All

  • Visual Basic MS Word Macro

    I am trying to create a Macro in MS Word that will open up a window that is located: Insert Object Create From File Browse The keyboard shortcuts are ctl 'I', 'O', ctl 'F', ctl 'B' The 'record macro' does not work; it needs to be coded with VB.  I am not sure how to do this.  Any help would be appreciated. Thanks Michael Hi, Questions regarding VBA and VB6 should be posted in the Microsoft Newsgroups . cheers, Paul June A. Domag ...Show All

  • Visual Studio Report Viewer Control and Custom Functions!!

    Thank you in advance for your help and suggestions. I have a report that reads data from a sql 2003 database. One of the fields is encrypted and I have been trying to figure out how I can apply a custom function to decrypt the data and display it in the report’s table. I have looked around but had no success finding any solution. I am new at asp net 2.0 and really need your help. Thanks! AngieDolfin Take a look at www.gotreportviewer.com . It has examples of using custom assemblies in a report. I think the custom assembly examples there use the winforms control instead of the webforms cont ...Show All

  • Visual Studio Tools for Office Get Excel worksheet by index

    Hi there, I would like to get the data in an excel worksheet by the worksheet's order number. For example, If the order of the worksheet order are : WS1, WS3, WS4, WS2 And if the user enters 3, then he/she should read WS4's data. I've tried to implement this using two different approach OLEDB and COM, but both of them are not satification. OLEDB can only get the worksheet in the worksheet's creating order. COM requires the server to install Excel. I looked into Vicsul Studio Toos for Office and it also requires to install Excel on server. Does any expert here know any alternative solution or hint that can solve my problem Many th ...Show All

  • Visual Basic Loading All Xmls in a Directory

    What string would I use as the file path so their names could be different. Or if you know any other way please help. Thanks System.IO.Directory.EnumerateFiles ( from memory ) will let you discover the xml files, then you can do whatever you like with them. ...Show All

  • SQL Server Deployment of Reports and Data Sources

    What is the best way to deploy reports to production considering the fact that different developers would be working on different reports and different data sources. Also consider that the data sources connect to local machines of the developers during report creation and a different database server on deployment. One way is to use VS2005 to deploy it to production but I am not sure if that is the way to go Any ideas Thanks I'd probably create an RSS script which will publish the report to the whatever server it needs to and then actually "fixes up" the report to point to a "production datasource" which already exists on the pr ...Show All

©2008 Software Development Network