sticksnap's Q&A profile
Visual C++ SP1 and WinSXS
What will be placed in the WinSXS directory when SP1 is installed Will there be a new MSVCR80.dll and more importantly, will there be a policy file that redirects the binding of the original dll to the new dll _USE_RTM_VERSION is newly introduced in SP1 (and previously also in hotfix 919280). It is found in crtassem.h and crtdefs.h. That's why you probably cannot find it yet in google and your existing vc include files. If you use _USE_RTM_VERSION - it must be done in all EXEs and DLLs the app uses. The _USE_RTM_VERSION define determines which CRT version is placed in your manifest file. If it is defined, then the old version number is put in. If not defined, then it puts ...Show All
Visual Studio Team System Premier Support
Hello, I have premier support option from MS, and I am having trouble getting trough to the VS DB pro support, does this product have support option yet and if so what group should I ask to be transfered to I was on the phone with tech router for 45 minutes and thy had no idea where to transfer me to. Rafet I asked our support engineer to provide you with an answer. I would suspect this goes to the same team that handles Visual Studio Team Edition calls but we will provide you with an answer. -GertD "DataDude" Development Manager ...Show All
Visual Studio 2008 (Pre-release) FlowDocumentViewer Zoom and Mode Changed Events
Hey all, is there any way to capture the FlowDocumentReaderViewingMode changed event or the Zoom changed event for the FlowDocumentViewer control. It would be very helpful if I could have access to these events, but it doesn't seem like they exist. Thanks for any suggestions, Corey ViewingMode and Zoom are both dependency properties. If you create a Mode=TwoWay, or Mode=OneWayToSource Binding, you can easily see when the properties change. - Doug ...Show All
Visual C# How can I write a program that makes another program?
I want to write a program that produces another program (i.e. a game creator or something of the like). I've done a bit of research and from what I've come up with it seems that this is a very hard thing to do. It won't be anything nearly as complex as a game creator, but I'm a relative beginner so I was wondering if there is a way to easily accomplish this. If someone could explain how to do this, or point me to a good resource, I would be delighted. Thanks for your time. Diego I've investigated, and I think I'm going to use the Microsoft.CSharp namespace to compile a .cs file that my program generates. More Info Diego ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DepthStencilSurface NotFoundException
Hi, trying to bind a device to a panel on a form. public void InitPreviewPanel() { PresentationParameters pp = new PresentationParameters(); pp.AutoDepthStencilFormat = DepthFormat.Depth32; pp.BackBufferHeight = this.pan_preview.Height; pp.BackBufferWidth = this.pan_preview.Width; pp.MultiSampleQuality = 0; pp.MultiSampleType = MultiSampleType.None; device = new GraphicsDevice(GraphicsAdapter.DefaultAdapter, DeviceType.Hardware, this.pan_preview.Handle, CreateOptions.SoftwareVertexProcessing, pp); If i break after the device creation I notice that the DepthStencilSurface property has thrown a NotFoundException. I can create a device through the normal XNA Express Grap ...Show All
SQL Server Import Fixed-width data with DSNs
Ok, so I've been playing around with SQL Server 2005 64-bit Dev Edition in readiness to phase out my existing SQL 2000 box. I've been having difficulty with importing fixed-width text data with SSIS. To explain, we use a linux based ERP system which is stored in a non-standard, encrypted flat-file format. So, each evening, I have a cron job spin off some shell scripts that use the ERP's report tool dump all of the relevant databases I need into a fixed-width format text file. The ERP platform also has a db layout report which is also in text format, I use this file (mangle it with VB first) and dump it back out into the format used to make a DSN file. DSN connector file (dbname.dsn) [ODBC] DRIVER=Microsoft Text Driver (*.txt; *.csv) UI ...Show All
Visual Basic FolderBrowserDialog1 fails when the user selects a folder name that's to long
I was wondering if anyone know how to prevent a user to select a foldername that does have a long length name. When I run this code: If Windows.Forms.DialogResult.OK Then If Windows.Forms.DialogResult.OK Then If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then txtFileDirectory.Text = FolderBrowserDialog1.SelectedPath lblInstall.Text = txtFileDirectory.Text btnContinue.Enabled = True End If End If End If I get a error if I select a foldername that has a long foldername length. I think more than 50 characters. Can anyone help Thank you.... B Agree wholeheartedly that showing his code would be useful as the error - "Object instance is not set to a referen ...Show All
Windows Forms Distance between controls
Hi all, Does someone know about a tool I can use to measure the distance between controls/lines/object in my form Thanks, Ofir. ...Show All
Windows Forms Add a number of entry schemes
Hello I am making a system for managing a small library. When I add fx a proceeding (which contains a number of articles) I want to be able to specify the titles and authors of the contained articles. That is if the proceeding contains 5 articles, I want a list of 5 entry schemes on my screen. These entry schemes will have to be added dynamically. Which component or method will be the most useful I have already tried FlowLayoutPanel but didn't find it useful. \Mikkel Several ways to do this: - Use a DataGridView - Make a UserControl with the controls to enter the properties of one article. Dynamically create UserControl instances for each article in a proceeding - Use a ListView with a form to en ...Show All
Visual Studio Team System MSProject 2003 not working
Hi there, I'm "still" using TFS Beta 3 Refresh (It's not easy to talk/get TFS RTM version here in Portugal, since reseallers don't know it yet). Any way, Yesterday I've tried to configure one colleague's computer to manage his projects using MSProject 2003 and TFS. When I noticed he had allready installed Portuguese version of MSProject (MSDN version). I've told him to uninstall it and install English Version. Resuming: Not working! Do I have to reinstall TFS Client Here's the temp\log file (after creating config file in msproject directory). [Info, PID 2272, TID 4736, 21:40:39.366] Managed ELead Project AddIn loaded Middle tier URL: http://tfs:8080/WorkItemTracking/v1.0/ClientService.asmx Middle tier configurat ...Show All
Windows Forms PerformClick stopped working
I have the code below that worked for a long time and I made some simple code changes, like adding a msgbox stmt, and now none of my PerformClicks work. Anyone know why Here is the code: Private Sub frm_ARExport_Shown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shown MsgBox( "AutoStart=" & AutoStart.ToString) If AutoStart Then MsgBox( "Before btnLogin.PerformClick()" ) 'fires btnLogin.PerformClick() 'does not fire MsgBox( "After btnLogin.PerformClick()" ) 'fires btnDoFile.PerformClick() 'does not fire 'Me.Close() End If End Sub Private Sub btnLogin_Click( ByVal sender As System.Object, ByVal e As Syste ...Show All
Visual C# How Can I Create File or Folder on [Map Network Drive] ??
Hi When I try to create new file or folder on any [Map Network Drive] using Windows Service Program I get Error Message The Error Message Could not find a part of the path 'Z:\test folder '. I try to create the folder [test folder] on the map network driver I use this code to create the folder Directory .CreateDirectory("Z:\test folder"); Also I get the same problem if I want to create file in map network drive Note : I don’t face this problem in I will use the same code with Windows Form Application How Can I solve this problem and give my Windows Service Program ability to create folders and files on map network drive And thanks with my best regarding Fraas ...Show All
Smart Device Development An internal error occurred in PlatformVerificationTask
Hi I get an 'internal error occurred in PlatformVerificationTask' warning when I build, but the code is still able to execute. There aren't too many people reporting this warning. So, it must either be very rare or there must be a quick fix to it. Ok, here is more detail concerning this warning and my project: 1) The project type is a device application for Pocket PC 2003 and is written in C#. I am running .NET Framework 2.0, .NET Compact Framework 2.0 and OpenNETCF 2.0 beta. 2) I am running VS2005 version 8.0.50727 (RMT.050727-4200) 3) The project was originally upgraded from VS2003 about two months ago, but this warning started showing a week ago. 4) The warning started showing after I added localisation to the project. This i ...Show All
.NET Development XML File Comparision USing VB and storing the result in thir file
HI, I need to Compare to XML file and highlite the difference in the original file.Can any one help me on this as i am new to VB. Regards, Prashant Hi Martin, Thanks for the reply, but i need to write code in VB to make XML file comparision work and highlight the result in main file. IN this case i need the code Regards, Prashant ...Show All
Visual Studio Express Editions My Tool Controls Disapeared
I down loaded several Visual Studion Programing Languages and Then The sql express program. I tried installing some controls by clicking .sln file a list came up I clicked on Visual Basic It started up with an error message. After that my toolbox says no usable controls. I tried the right click Choose Items I see a list but chcking them doesn't help. clicking reset toolbox doesn't help. Clicking show all, showes a bunch of grayed out controlls. Reinstalling, Uninstalling and Reinstalling, renaming the visual studio 8 directory and downloading and installing doesn't help. I noticed the directory in Choose Items Says "global assembly cashe" This has happened to all of my express applications HELP!!!! HELP!!!!! ...Show All
