Software Development Network Logo
  • .NET Development
  • Microsoft ISV
  • SharePoint Products
  • VS Team System
  • Visual C++
  • SQL Server
  • Game Technologies
  • Visual Basic
  • Windows Vista
  • Visual FoxPro
  • Visual C#
  • Windows Forms
  • Visual Studio
  • IE Development
  • Smart Devicet

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

Andre's

Member List

Joannes Vermorel - MSP
AaronL
Deza
PedroCGD
Pockey
yanivpinhas
Michael Hansen
osamaT
The DJ
Dreedle
pmanisekaran
Brian Kramer
RavenWorks
Raymundo Chapa94595
honeysip
Rupesh Bhurke
dreameR.78
Prashant_Rai
Barry Gordon
dotNET Dev
Only Title

Andre's's Q&A profile

  • Visual Studio Express Editions I want to save Variables in a .txt file and upload them every time my program opens.

    I want to save Variables in a .txt file and upload them every time my program opens. I searched on the site for 2 hours and had no luck finding an answer to my question. So if someone could answer it or point me in the right direction that would be great. I have a program with a few variables. One of them is a string and the rest are colors and integers. I need some way to have my program save these to a file on my computer. Also when I start my program I want it to check those variable and put them in their proper location on the form or in the code. It doesn't have to be saved in a .txt file. If anyone can tell me the how to do this that would be great. Thank Spotty, I am pretty new to VB programming, so please bear with m ...Show All

  • SQL Server Replicating Schema Changes

    Hi there, I'm using Sql 2005 merge replication and I have noticed something, I'm not sure if this is true or not:... My publication is set to replicate schema changes (replicate_ddl = 1). Now, I have noticed that schema changes are only replicated if the current snapshot is valid. Is this right If so why My next question carries on from the first. If I'm about to run a TSQL script on my publisher that will add a column or two to a published table, how do I ensure my snapshot is valid inorder for the ddl changes to be replcated Should I be using: EXEC sp_mergearticlecolumn @publication = <publicationname> , @article = <article name> , @force_invalidate_snapshot = 1 , @force_reinit_subscriptio ...Show All

  • Visual C++ unresolved external symbol

    I'm coverting a project from VC 7 to Visual Studio 2005 but get the following errors: some.lib(some.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::ios_base::Init::Init(void)" ( 0Init@ios_base@std@@QAE@XZ) some.lib(some.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::ios_base::Init::~Init(void)" ( 1Init@ios_base@std@@QAE@XZ) Any hints That's not what the linker log shows, it clearly links to the static libraries (libcmtd.lib and libcpmtd.lib). To link to the DLLs, it needs to process msvcmrtd.lib and msvcprtd.lib. ...Show All

  • Visual FoxPro Detect hard diskk serial number.

    Dear Expert, Can I know how to detect the hard disk serial number or code using foxpro Thanks a lots. What Imean is how how to tell wmi to just to return one harddisk which is the hard disk that has my app in it wmi return all hard disk installed in the computer. I dont know which of the hardisk is the harddisk i want . ...Show All

  • SQL Server ways of transferring database between two different servers

    hello friends, I need to transfer my database from one server to database on another server every 24 hours. I can create windows application but it will be cumbersome to write bulk of code . So can u suggest me some service or any other way through query or stored procedure or by job scheduling which can run every 24 hours and move my data from one database on one server to another sql database. Both database systems are sql server 2000 but servers are diffeerent so how to connect them while transferring dbs. Any help is appreciated. regards, max If you are using SQL 2000 (enterprise edition) then you can take help of Log shipping in this case, if not that edition then you can define a maintenance plan to backp the transaction log a ...Show All

  • Windows Forms MS Access linked to VB 2005 problem

    hi all at the moment i am trying to basically link MS access database to VB 2005. I created a simple Database consisting of 1 table only. The table has ID,Name and Surname sections (with ID having a primary key). I entered some names and ID number so i can try and retrieve that information from it. I created 2 simple forms using VB 2005. One had a button and a textbox and the other had 2 label boxes. What i am trying to do is, when i enter the primanry key in the textbox and click the button, the information stored in the database gets copied into the 2 label boxes on my 2nd form (in this case i only have Name and Surname to be copied). Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVa ...Show All

  • .NET Development Problems getting Orcas and or Framework 3.0 working on XPSP2

    Hi, I'm really stuck on my project to install various .NET / framework 3.0 / Vista development learning resources installed on my Windows XP SP2 system... My system is pretty well equipted, HP laptop with AMD Athlon 64 etc...I've installed the framework 2.0 & express editions of VS, as far as I know without any problems...I installed the Windows PSDK (the latest, with the .NET 3.0 samples and updated win32 and VistaBridge stuff, and that seemed to go OK also, and used the utility to 'update' my express vs editions, (well i think it really only affects C++), and it changed the exe, include, lib paths properly and C++ is able to compile sample programs properly (at least those that do not require Vista). C# Express is willing to op ...Show All

  • SQL Server T-SQL without cursors

    Hi there, Say i have a table with the following structure: Store Customer OrderNo 1 1 100 1 1 201 2 2 122 2 2 223 2 2 222 2 3 333 Is there an easy way to select sequences as below per Customer without using cursors Store Customer OrderNo TransNo 1 1 100 1 1 1 201 2 2 2 122 1 2 2 223 2 2 2 222 3 2 3 333 1 Thanks create table CustomerOrder ( Store int, Customer int, OrderNo int ) Go Insert INto CustomerOrder values (1,1,100) Insert INto CustomerOrder values (1,1,201) Insert INto CustomerOrder values (2,2,122) Insert INto CustomerOrder values ( ...Show All

  • Visual C# exception on eventhandler SelectedIndexChanged

    private void ComboBox1_SelectedIndexChanged( object sender, EventArgs e) { // ComboBox take data from a BindingSource this .TextBox1.Text = this .ComboBox1.SelectedValue.ToString(); } Why this code generate an exception NullReferenceException when closing the MainForm if I make this.. this .ComboBox1.SelectedIndexChanged -= new System. EventHandler( this .ComboBox1_SelectedIndexChanged); the exception is not generated but I haven't the event that I need !!! Can anyone help me Thank all. OK, so the next thing to do is check what thing is actually causing the exception. From the code snippet you've shown, I can see 4 places that might be causing it, although ...Show All

  • Visual Basic Send output to stdout from gui app...possible?

    I have a simple vb.net gui application (an alternative file requester in a form) that I would like to run from the command line. It executes fine, but I find that I cannot send any output (a string representing the file selected) to the command line upon completion. It appears that "console.writeline" doesn't actually write to the console Any suggestions as to how to send info back to the console window upon completion Keep in mind that this is a gui app (not straight console). Dim ins As System.IO.Stream = System.Console.OpenStandardOutput() Dim os As System.IO.Stream = System.Console.OpenStandardInput() ...Show All

  • Windows Forms how to ReadFile to enum type?

    Hello everybody! I have a question how to read the file to enum type. I want to do something like; public enum Position { PointGuard, ShootingGuard, SmallForward, PowerForward, Center } public void Load(string FilePath) { StreamReader sr = new StreamReader (FilePath); Player player = new Player();// create new object = sr.ReadLine();// I want to add in sr.Close(); } I'll appreciate your tip. Thank you. I should have put more code on it. I'm sorry. The file includes such as like this; public void Save(string filePath) { StreamWriter sw = new StreamWriter(filePath); sw.WriteLine(m_Name); sw.WriteLine(m_City); ...Show All

  • Audio and Video Development Programatically setting the default playback device (and recording device)

    Under Vista is there a way to set the default playback device programatically I've searched through the APIs but I'm not seeing it. For example, there is a method IMMDeviceEnumerator::GetDefaultAudioEndpoint(), but there is no corresponding IMMDeviceEnumerator::SetDefaultAudioEndpoint(). Can I do this through the endpoint properties Thanks, that's a helpful suggestion (although in our case, it would require a substantial rewrite of our control panel, so this might be more of a long-term solution). Some of the most useful features of our control panel can't be implemented this way, though. We have a "preset" feature where a user can create named sets of all of their audio settings and easily switc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game Programming is very Hard

    I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Geek Squad wrote: I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Yup. I do recall saying that pretty clearly on the DirectX 101 forums: http://f ...Show All

  • Visual C++ Linking between two projects

    //Project one: test (Class Library) //header file: test.h #include <iostream> namespace test { template < typename _uintX, class dum = dummy> class CTest { public : typedef _uintX uint_type; CTest(); CTest(uint_type value); uint_type testfunction(uint_type value); }; class dummy { public : dummy(); }; } //cpp file: test.cpp #include "test.h" template < typename _uintX, class dum> test::CTest<_uintX, dum>::CTest() { std::cout << "Constructor Called" << std::endl; } //Project two: testApp (win32 console application) //testApp.cpp #include "../test/test.h" us ...Show All

  • Architecture Installing ADAM(urgent)

    Hi, Can anyone tell me if installing ADAM on a machine(win-xp prof, which is part of the network) will it intefere with existing AD on the domain controller According to the whitepaper it says its a user based service and a ADAM is a lightweight version of AD(2003). Need an ans asap. Hi dude, hope you find here useful resources (I think the installation over XP prof doesn't differ from the over Win Server 2003 one) ADAM Step-by-Step Guide ADAM Overview Presentation , mentions coexistence between ADAM and AD, commenting it's possible More info on ADAM ...Show All

©2008 Software Development Network