Crumbs's Q&A profile
Visual Studio Express Editions We still use 'fstream' in VC++ these days ?
Hi All, I have returned to programming in C++ after having a break from it all and have downloaded the VC++ Express Edition to evaluate. I have a purpose for an app that will require to write/read to an ASCII file and have been looking around to see how this is achieved within VC++. From what I am seeing, we still use: fstream So, what's the GO, are we still to use fstream or is there something improved Pete ...Show All
.NET Development Windows XP Pro 64bit
Hi all, i try to compile and run my solutions with Visual c# 2005 Express on Windows XP Pro 64bit. Which works fine on my Windows Xp Pro machine, but throws BadImageFormatExceptions on my 64bit OS. I tried DirectX and SDL .NET... it seems like the DLLs are not valid... cant find any help on MSDN or on the net. Please help me! Thanks, Marre I half understand what is happening here, but would like to understand t ...Show All
.NET Development visual studio 2005 express DataSource
how insert data by code whit Datasource Hi, You could do it just like using a normal DataTable and an DataAdapter. Here's a sample: ProgramTableAdapter pta = new ProgramTableAdapter(); lmstestDataSet ds = new lmstestDataSet(); lmstestDataSet.ProgramDataTable dt = new lmstestDataSet.ProgramDataTable(); pta.Fill(dt); DataR ...Show All
SQL Server Enable or disable a relationship between 2 tables at runtime?
Is that possible Can somebody show me code in how to accomplish this. Thanks ...Show All
SQL Server AutoClose
How do you set the AutoClose property of a SQLExpress db Also, can the user instance timeout property be set at the database level too to make for easier application distribution. Is there any downside to turning off AutoClose in order to speed up the initial startup times after a period of inactivity. I think the AutoClose property is true by default in SQL Server Express. You can look it up and set it in Man ...Show All
SQL Server Link Report Problems
I have established a set of base reports which are then linked to a variety of department specific folders. Moreover, many of the reports have the capability to "Drill Through". The problem occurs when clicking on a Drill Through field in one of the department specfic folder -- it directs the drill through to a report in the Base folder instead of the department specific folder. Pleaseeeeee help! The be ...Show All
Windows Forms Datagrid not utilizing table style created
All, I have created a datagrid and a table style associated with that grid. When I display the dataset in the datagrid the table style is not utilized. Please find my code sample below. Let me know if you have any ideas. I have been looking at this for days and cannot figure out why it is not working as designed. Thanks... Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) H ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem installing DirectX 9.0c: "make sure the cryptographic service is running on this computer"
I have DirectX 9.0b installed on my Dell PC. I am not able to install verion 9.0c though. I get error ox8024D00C (which I cannot locate anywhere). I've read my dxerror.log and directx.log files (but don't know how to decipher them. I'm also unable to use Windows Update on this same PC. I bet the problem is related. For this reason, I've not been able to download XP Service Pack #2. I'd welcome some suggestions; thanks! Paul ...Show All
Visual Basic Searching files for specific strings/text
Hey all, Im using files in my project to store data. I also want to save changes to this data if they are made. Basically i need to look up a particular string of text in my file so i can begin the writeline method at that point and so update my data accordingly. I also need to know how to do this so i can load selected data from my file as well! It would be great if someone could help and/or write some sample code. Cheers, ...Show All
.NET Development Validating a Client
Can anyone tell me if it is possible (and if so, how do I do it) for a remote server object to validate that the client making a remote call is a specific application or component I am trying to create a remote server that will provide potentially sensitive information (such as encryption keys) to applications. The application would use the information internally without revealing it to the end user. However, I want to ensure that a ...Show All
Visual Basic AmbientProperties: how to get it in my ActiveX control?
Help me please! I am beginner in VB.NET and i have a problem. When I wrote ActiveX control in VB6, container properties was accessible in InitProperties or ReadProperties events of UserControl as: Private Sub UserControl_InitProperties() Set m_objMyObject = UserControl.Ambient.SomeObj ' or just ' Set m_objMyObject = Ambient.SomeObj End Sub How i can get same container ...Show All
Visual Studio Team System Build on a few solutions under different team projects using team build
Hi, I'm trying to create build on a few solutions under different team projects using team build. I saw on this blog: https://blogs.msdn.com/manishagarwal/archive/2005/09/27/474273.aspx by Manish Agarwal the way how to do it. I succeed to compile the solutions but for some reason I saw in the build log file that I’m getting The sources of all team projects that on my TFS This is the importent code from my TFSbuild.proj ...Show All
Visual C# ApplicationSettingsBase ArryList not saved
Hi I'm using a derived class of " ApplicationSettingsBase" to store a ArrayList. When i save it i can see the ArryList is stored in the property i defined, but when i retriew it the Object is null. Has anyone been using ArrayList to store info Cheers Krishan Code sample i use; [ UserScopedSetting ()] public ArrayList GridColumns { get { if ( this [ "GridColumns" ] == null ) ...Show All
Visual Studio Express Editions Where are the optimization settings?
Hi, in the Project Properties (VC++ Express 2005 Beta 2) - where are the compiler optimization settings where I can (for example) chose how the compiler will handle inline functions etc. Have they been removed Thanks David Project properties are accessible by either double-clicking on the project, using the project context menu, or accessing the Property Manager window. Here you will find the project ...Show All
.NET Development Convert Data to Binary
Hi All, How to convert from any data, such as string, interger ar Ascii to banary Any help would be appreciated. Hank You can do the converToBinary thing with: Convert.ToString(someint, 2) If you have some bits set in a value and you need to read/set/unset the bits then just use logic. You could use the bitarray class I suppose... Dim someint As Integer = 509385034 Dim someintBinaryRepres ...Show All
