Steve_King's Q&A profile
.NET Development IIS6 - creating multiple websites
Hi I have trouble creating multiple websites on IIS6.. When i create a new website with a hostheader newsite and some random port different than the one default website is using .. the website doesnt seem to work... the error i receive is Bad request ( hostname)..... though i try to run it through the http://ipaddress:port #.. its a windows 2003 server machine... any leads on this issue are appreciated... Thnx mahmood Your host header has to be an internet domain I think. If you just want to access another site using a different port on your local network (using an IP address), then leave the "Host Header Value" f ...Show All
Visual C# Connection
Ok. I know this isnt the right forum for this, but i've asked this question everywhere. I want to know the C# code for connecting to a remote computer and sharing files you could say. Basically, I would like to know how to connect to a server that is on my computer. If anyone could help it would be greatly appreciated. Your question is vague, so it's not surprising that you aren't getting many answers. It would be helpful if you could be more specific. What, in particular, are you having difficulty with What sort of server HTTP FTP Windows File Sharing Something else -Tom Meschter Software Dev, Visual C# IDE ...Show All
Visual Studio Team System Can the Project Portal web site upload documentation?
Hello, Before I make the effort of installing TFS, I was just have a question about the project portal system. Is it possible to set up folders for documentation, and give access to this folder to external people (eg development partners or even clients), through the project portal web-site Also, I'd like to allow these external people to create their own documents, or edit existing ones depending on access rights allowed (certain users can read certain documents, others can write too). Is all this possible through the portal web site or do you need to have VS to edit/create new files (in which case the Project Portal just becomes a r ...Show All
SQL Server Need Help about Initial Snapshot
i have created a publication whereas i have provided a network path to its snapshop folder e.g ( \\server\folder ) at time of creating. When i try to make a Pull Subscription and follow all steps of wizards, it gives me following error " The initial snapshot for publication '---' is not yet available". can you guide me what are causes of this problem and how may i solve it Thanks for help. Regards, After you create the publication, you need to start the snapshot agent. The snapshot agent is what creates the files available for subscriptions to use. ...Show All
Visual C++ STDMETHODIMP
I am trying to compile some VC++ 6.0 code on VC++2005, and I get the following error: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The line of code is simple: STDMETHODIMP Func(WORD Index); Knowing that STDMETHODIMP boils down to " LONG __stdcall ", what's the problem here The same compiler error is generated for STDMETHOD. Any clue Thanks, Mo Can't you just rebuild the old libs with the new compiler This will save you tons of time as now and for the future. If that is not the option, try using the linker options /NODEFAULTLIB. I ...Show All
SQL Server Adventureworks sample reports
Newbie Q. Can I view Adventureworks sample reports with SSX Storefront Thanks. Sorry - what is SSX Regarding Storefront - do you mean these folks: http://www.storefront.com/ What is it you're trying to do Do you mean can you deliver reports to be printed using a standard online printing solution If so then yes it is possible. No we can't do it out of the box, but you can write a delivery extension to send report output to the online service provider if they expose an API for submitting requests programmatically. You can learn about delivery extensions here: ...Show All
Visual Basic VB6 upgrade to VB 2005 failure, could not find project file it created
Help me, oh wise one. I support applications in VB6 and VB2003, and I'm trying to upgrade the VB6 app to VB2005, so I have three versions of Visual Studio on my pc. I ran VS2005 and opened the VB6 app to launch the upgrade wizard. It seemed to run fine until it threw an error saying it could not find the project it just created. The project I'm trying to upgrade is called MGxFromSAP.vbp. The error said it could not find MGxFromSAP.vbproj. The project file it actually created is called MGxFromSAP.vbproj. vs7.vbproj . When I try to open this project in VS2005 it says it was created in an earlier version of Visual Studio and needs to be upgr ...Show All
Visual Studio Crystal Reports and the VS IDE (toolbar align lefts, rights, etc..)
Why, when designing a report, the toolbar with Align Lefts, Align Tops etc is greyed out, but right-click align lefts does work Anyway to add those features to a toolbar in the IDE Carl Hello Carl, It looks like our report designer doesn't support the Layout tool bar. I'll try to find out why, but since it is a low priority it may take a while to get an answer. Keith - Business Objects ...Show All
Visual Basic Hex function and Byte type declaration problem
I have a program that is supposed to format data into 4 hex bytes and sent thru the serial port. The declaration section contains the following: Dim Addr, MsData, LsData, CkSum as Byte Dim Cmd1, Cmd2, Cmd3, Cmd4 as Byte Data is input to the Addr, MsData and LsData bytes and ChkSum is computed as (MsData and LSData are parsed from a single text box input (0 to 4095 range): MsData = Int(InputData / 64) LsData = InputData Mod 64 CkSum = Addr Xor MsData XOr LsData Xor &HFF Cmd1 thru Cmd4 are formatted as follows: Cmd1 = Format(Hex(Addr),"00") Cmd2 = Format(Hex(MsData),"00") Cmd3 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. CreateFontResource/AddFontResorce issue
I use the CreateScalableFontResource (et al) API calls to make use of a font that I distribute with some of my games that are in C++ (not using DirectX) so I am familiar with how it works. However, when I try to do the same thing in C# with Managed DirectX, it doesn't work. I am not sure if the issue is on the C# (.Net) side or with the Managed DirectX code. The function all execute successfully, but when I attempt to create a font using the name of the new font, it doesn't find it and uses an existing font. If I manually install the font file, then it is recognized, so the code using the font is working. It seems that Windows is not b ...Show All
.NET Development SQL Server Access?
I am just wondering the extent of access to SQL Server databases in the Visual Studio Express Editions vs. the Visual Studio Standard Edition. Will I be able to connect to a SQL Server database, or will I have to do it manually (by code), and is this against the license agreement Thanks. chrisj wrote: So if I had the Express editions, I could simply access the database by code and make custom functions, and use Object Data Sources to databind to the database Yup, you could manually do it in express. But not in design mode. chrisj wrote: What I understand is that the way th ...Show All
Windows Forms opening a paticular cell in editMode when dg row is highlighted
hiya, When the user clicks on a dgRow, I want to be able to be open the 5th cell (in editMode) of the selected dgRow.Ideally, I want the underlying datable to be updated if the user subsequently enters data in this cell and then moves focus to a different control on the winform.(I can do the update no prob, but I'm not sure which dg ...Show All
.NET Development ODBC - DSN only connections in x64? how? - Urgent -
Why in windows 2003 x64 is tere no default provider for odbc connections example http://s2.forsaken-mu.net/testodbc.asp (Turn off friendly http messages in ie to view the error) And is there any way of installing one. Im relucatant to update so many instances of this i'de prefer to not use dsnless everywhere. -edit- My second server has gone down now so I currently have no system thats capeable of running the programs some are binaries and are clsoed source the others I can alter btu are useless without the clsoed source applications, I am now loosing money hourly, please any idea would be welcomed. Many Thanks - Hugh ...Show All
Smart Device Development .Net Runtime Error Event ID 500 on App Sartup
Hello, I'm having a problem deploying a smart application. On some machines, the .Net 2.0 applications starts perfectly. On onthers, the above error is logged. It appears to be occuring when the process is started, yet not into the application. No UI is shown. I have debug points as my first statements in the form.load function that never display Any advice is appreciated. More Errror Details: EventType : clr20r3 P1 : petropal.exe P2 : 1.0.0.2 P3 : 440d0c73 P4 : system P5 : 2.0.0.0 ...Show All
.NET Development exception unhandled
with Visual studio 2005. Code below. add the client I added a webreference as you see. If I test the webservice in my browser it works, but not from the pda. ERROR: at runtime: Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found. System.Net.WebException was unhandled Message="Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found" StackTrace: bij System.Net.HttpWebRequest.finishGetResponse() bij System. ...Show All
