Tick's Q&A profile
Visual Basic user.config location
hi, my app stores some settings data in the user.config file. this one is located in InstallRoot%\Documents and Settings\ username \Local Settings or appdata. How can i modify this location of the user.config file (for example i want it always to be in the same dir of my app or a subdir of it. Havent been able to figure it out , anyone knows thanks, Bruno Darn. Writing my own SettingsProvider looks more complicated than what I would like. The end result that I want is that most things would behave the same as if I was using LocalFileSettingsProvider except that the location of the user.config file is differe ...Show All
Visual Studio .Net 2.0 SDK install problems?
I have tried several times to install this on different machines. I have installed the framework first, and when I try to run the install program, it interupts with the message "Extracting file failed. It is most likely caused by low memory(low disk space for swapping file) or corrupted Cabinet file." I have tried several solutions including deleting cache files, temp files, and other things. Has anyone encountered the same problems I am having Thanks for any help you may offer! I figured that would happen... my next idea would be to make sure that your version of Windows Installer is up to date ( http://www.microsoft.com/dow ...Show All
Visual Studio Team System Project Portal Reports only showing top selection criteria
I have installed TFS Beta3 with VS2005RC0. Everything by and large appears to be working correctly. One thing that isn't. If I show the project portal web page the four default reports on it only show the criteria selection headers but no data. I just want the charts here with no critieria selection like in Beta 2. How do I fix this All my reports from the report node and http://localhost/reports run fine. Thanks, Chris Hi, i figured out the problem, quite simple actually. The report is generated but the problem lies in the webpart. it is to small to show the webpart. when I gave the webpart a height of 400 px the report showed u ...Show All
Visual Basic Dynamic windows form loading
Is there a way to dynamically load a windows for based on a value from a database query I want to use late binding instead of a big case statement to load the window. Thanx, Robert Beaubien President Kool Software Of course, you can do that. However, you need know the Full class name and what assembly implements that class through your database. You can load the assemlby (System.Reflection.Assembly), if the assmembly is in GAC, and you have the full name of it, or you have a path. You can call Assembly.GetType to get the type, and call System.Activator.CreateInstance to create an instance of the type. How ...Show All
Visual Studio Tools for Office ThisApplication_Startup - can't stop at breakpoint.
I am trying to debug a VSTO outlook add-in (compiled in debug) app but can't get the debugger to stop in ThisApplication_Startup(). The debugger displays a warning saying "this breakpoint won't be hit. No Symbols have been loaded for this document" Yet I compiled it in debug and set the debug options to load outlook as the external EXE program. Whst am I doing wrong Thanks in advance... Found the answer to my own problem :) The VSTO add-in had been disabled. I started Outlook->Help->Disabled Items button->Enable my add-in Glad this forum is here - it is like rubbing buddha's belly for good ...Show All
Visual Studio Team System How to exclude a Folder from a Webproject
Hi We are testing here TFS SP3, and have the following question. We have a website project, that uses TFS as source-control. When adding some files to the folder of the webpage, TFS automaticly adds it to the TFS Soruce control. But when doing checking, it always wants also to checking these files, but I don't want to checking that, as this is just test-data created on the local environment. What do I have to do Thanks Patrick There are a couple of ways to handle this: 1) The simplest is after the IDE automatically pends an add of your test data, right click on the file(s) and select "Undo Pending Chang ...Show All
Visual Studio about start page
Now i want to add a new start page(different from VS start page) to Visual Studio .But i do not find any method in VSIP document. I want to know if it is possible for me to do this function. And i once customized start page in VS 2003. But how can i do it in VS2005 Thanks for your help in advance. this is not part of the VS SDK, its provided with the in-the-box extensibility like macros and add-ins. see " How to: Customize the News Section of the Start Page" How to: Change the Item Displayed on Start Up of the Development Environment in the docs ...Show All
.NET Development Javascript, Web Services and WSE
Hi, I have created a Web Service and I want to add some security with WSE. I would like to know if there is there any posibility to use Javascript to call the methods from the Web Service using WSE. I would appreciate any help or any internet resources you could provide me. Thanks in advance. I'm not sure if I understand your question. If you want to use JavaScript to call a WebService implemented in WSE, yes you can but you will not have a Javascript implmentation of the standards supported by WSE, and it's hard to implement them. But if you have a .JS file in your machine and you want to ...Show All
.NET Development StrongNameIdentityPermission
ok bear with me here as I am not exactly sure if I am using this correctly: I am fooling around with StrongNameIdentityPermission I have two assemblies (both assigned the same .snk file in there AssemblyInfo.cs) Assembly Namespace MyApp.Utility.dll MyApp.Utility MyApp.exe MyApp MyApp.exe references MyApp.Utility.dll I have a class MyApp.Utility.Permission with a method prototyped: public static bool Authorize() ...Show All
.NET Development handling packets on recive
how do ppl handle this, Im finding as I move deeper into my project that my readbuffer is backing up, my packets were geting smashed together so I started sending a delimer at the end of each packet and spliting the string to seperate each packet, is there a good way to hold these split packets until I can process them thanks a ton btw im using C# If you are workign with a TCP connection, there is no gaurantee that what you send in one call to a sockets send method is what is received in one recieve call on the server. For example, the client could send 60 bytes in one call to Send ( ...) and the serv ...Show All
Visual C++ Dialog Resizing in Japanese XP
In an 8-year old MFC/MDI project under Visual C++ 6.0, I use the default 8-Pt. MS San Serif. For the first time I have heard from a Japanese XP customer that the dialog is being resized and labels are being shifted and/or truncated. Experimentation showed that I could easily reproduce the behavior just by changing font dialog. I assumed that XP was replacing an unknown font with some more universal font. However, 8-Pt. MS San Serif was resident on the system and reinstalling it made no difference. I suspect that this has been a problem all along, but it took all this time to hear about it. Anybody know ...Show All
Visual Studio Can not run by publish but do by copy
I have finished develop my WebApplication. When I publish my WebApplication by Publish Web Site to a web server, it can not run on the web server, with error message below. But if I copy my whole web application to server, it can run. How can I do ---------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login' Source Error: ...Show All
SQL Server Inserting Data - SQL Error 40 (VS2005 Express / SQL Express 2005)
Hello, For the past few days, I've been stuck on this particular error and I hope somebody can help me. Whenever I try to connect to my database using code, I get the following error: " An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " I did enable TCP/IP settings under the SQL Surface Area Configuration and restart the SQL server. The problem has not disappeared. When ...Show All
Software Development for Windows Vista Soundmax Audio Driver and Windows Longhorn Beta 1
Hi, I have Soundmax driver installed on Windows Longhorn OS. When I use the sound recorder that comes with the OS (in the Startup->Entertainment section) and record through a microphone, my recording is okay. But if I use Wave out Mix as input pin and try recording from Windows Media Player to the Sound recorder that comes with the OS, it does not record. It changes my setting to microphone when I start recording automatically. Also another difference I noticed between Windows Xp and Windows Vista is that mixer device option in the Volume Control of Windows Xp shows SoundMax Digital Audio and with Windows Vista it shows " ...Show All
.NET Development ASP.NET
While creating Header and footer option in asp.net application which is a better option using DHTML Code or User Control And Why Check out http://www.asp.net for lots of information about ASP.NET 2.0 and you'll find some tutorials there on how to create master pages! PEte ...Show All
