Swadow's Q&A profile
Windows Forms TabPage visible...
Iam working on some program and I have to hide or show tabpage regarding to options from database. Can tabpage be visible = false somehow I've tried like tabControl1.TabPages[0].Visible = false, but .Visible doesen't exsist. I know that I can do RemoveAt(Index), but that it's not what I want, because showing tabs are dificult. Can it be done somehow Thanks. No, that doesn't work. You need to remove the tab page from the tab controls collection of pages, and add it again to show it. ...Show All
SQL Server sqlexpr.exe is not a valid win32 application, I downloaded the sql express 2005 edition when i click on exe file. I receive a
I am using a windows xp sp 2. I have visual web developer 2005 express edition. .net Framework 2. but when i downloaded the sql 2005 express edition. when i click on the sqlexpr.exe. I receive a message " sqlexpr.exe is not a valid win32 application". just to try I downloaded the framework 2. for win32 , when i click on the exe file I receied the same message. Well someone help me please with the sql server. i have almost given it up and using this tool for my last resort. Thanks trying hard You have to download the application again, I guess that there was an error during downloading the file, so i ...Show All
SQL Server ODBC connection for client application to SQL Server 2005 Express installed on network computer
Hi All, I've developed an application that connects to a SQL Server 2005 Express database. I created a DSN to connect to the database through ODBC. Currently, I am testing locally and everything works fine. I would now like to install my application on another workstation and connect remotely to the database located on my development machine. The client workstation does not have SQL Server 2005 Express installed on it because I would just like my application to connect remotely by creating the DSN and using ODBC. What I'm missing here are the database drivers. The "SQL Natice Client" is not available on this client workstation. Ho ...Show All
SQL Server How to deploy reports from my pc to my client's server?
Hi Guys, I am using MS Visual Studio .Net 2003 to design reports from the data in MS SQL Server. I have no problem to deploy, view or run the reports in my pc with MS SQL Reporting Services installed. Now, my client's server with MS SQL Reporting Services only installed, but no MS Visual Studio installed. How to deploy all my reports in my pc into my client's server so that user can view the reports in the server thru IE Thanks. Yes, you can upload the .RDL file into Server. You need to open http://<servername>/Reports page and press Upload File Butto ...Show All
Windows Forms ADO connection to Sybase 12
HI I try to connect to a sybase 12 database from a VB6 application I allways get the error " run-time error 3706 Provider cannot be found. It may not be properly installed." It's properly installed, I'm able to work with my database from SQL Advantage. but when I try this code .... GetConnectionString = "driver={SQL Server};server=" & StrServer & ...Show All
.NET Development Help plz!
How do i read data on the same row but on a different column from a mdb file using visual basic studio 2005. so far i got : somethingDataSet.Tables(NameofTable).Rows.Find("StudnetID").Item("Name") For example: student ID Name 1 John 2 Matt So if user put 1 it then the name should be John. And if 2 it should be Matt. However everytime i put 2, it gives me John. Could you guys help me with it Hey Dave, Could you help me Thank you in advance Dim ColumnValue As String = ds . Tables ( "TableName" ). Rows (RowNumber). Item ...Show All
Visual Studio Express Editions Uninstallation of MSDN Express Library 2005 Beta does not complete
Interested in trying out Visual Basic Express Edition Beta 2 I tried to go throught the uninstallation of Beta 1 first. Uninstallation of MSDN Express Library 2005 Beta does not complete. It gets stuck at Validating install level. Anyone know what to do Regards Alistair Could you try the clean up tool at Aaron's blog http://blogs.msdn.com/astebner/archive/2005/04/21/410573.aspx to clean up previous Framework You may have done this, please check to be sure Frameowrk was uninstalled last and all previous version of components uninstalled in the required order with instructions at ht ...Show All
SQL Server Identity field settings not copied by Import Wizard (2005)
It appears that when you use the import/export wizard from within Microsoft SQL Server Managment Studio, the identity attributes of the table being copied are not transferred. For example, say the source table has a column [ref] [int] IDENTITY ( 1 , 1 ) NOT NULL, When the import wizard is done the destination table will have a column named ref, but will not be an identity column. The column definition will be [ref] [int] NOT NULL, instead. Is there a way to change this behavior somewhere in the gui When doing the import, the only options seems to be 'Enable Identity Insert', but checking this does not affect the def ...Show All
Visual Basic System.InvalidOperationException: Mutex could not be created.
I have develpper edition of VS 2005 . I get System.InvalidOperationException: Mutex could not be created. error when I am trying to access a webservice from windows app. Both app and webservice are on same machine. Dose anyone have any idea how to solve this problem Thanks I think we're going to need to see some code. A mutex is a mutually exclusive semaphore. Someone was trying to protect something and could not create the mutex. If it's a system mutex, I might wonder about the privileges that the webservice is running with. ...Show All
Visual Studio Customize Windows Forms Designer to use MyResourceManager
Hello, we developed a custom ResourceManager to let the customer edit all .Text properties in all languages in a database table (MyResourceManager looks up other languages in database instead of in localized resx files). This system works fine if we manually replace 'System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); ' by 'MyResourceManager resources = new MyResourceManager(typeof(Form1)); ' in all InitializeComponent() methods, after every code generation by the forms designer. So far, we have already this partial solutions: use a preBuild event to make all necessary replace ...Show All
Windows Forms changing ip address
Hi, I am building a windows application that works as an administrative tool. In this application I want to give user option to change the ip adress of the system. The OS is Windows XP. there would be some kind of checkbox or drop down ot some textbox where user can specify the new IP adress. How can I change the ip address of th ...Show All
Visual Studio Express Editions Error while installing
When i try to install Visual C++ 2005 Express I get the following error Error 1311. Source file not found. C:\Documents and Settings\...\vcsetup1.cab. Verify that the file exists and that you can access it. The file is ok.. How do I solve this DanielRehn wrote: When i try to install Visual C++ 2005 Express I get the following error Error 1311. Source file not found. C:\Documents and Settings\...\vcsetup1.cab. Verify that the file exists and that you can access it. The file is ok.. How do I solve this If you don't get good answers here, try reposting in the Installing Visual Studio Express Editi ...Show All
Visual C# Using a shared resource
Hi, The problem I have is not specifically related to C# or its implementation. Its more of a theoritical nature, but since I have been frequenting this forum as well as building my project in C#, I thought it d be a better place to ask it. The problem is this: There are three classes: A, B and C. They are a sort of component classes and the class that encompasses these classes (the bigger system) is, lets say, class BigSystem. Means the BigSystem class has objects of each of A, B and C. There is a shared resource (for e.g. a file or a serial port) that could be accessed by only one class at a time. To counter this, we make ...Show All
SQL Server xmla files
I'm trying to create an automatic deployment for an analysis services project I've created. I've used the deployment wizard to generate an xmla file which can deploy my database. The file works great if I open it within the Management Studio and press the 'Execute' button. The question is how can I execute this script from the command line (i.e. so a deployment process could do it automatically) Thanks, Kobi Reiter try this http://technet.microsoft.com/en-us/library/microsoft.analysisservices.adomdclient.adomdcommand.executexmlreader.aspx ...Show All
Visual C++ BeginInvoke help!
From what I read, BeginInvoke can be used to call functions that take a long time to execute by making them execute on a separate thread. I wrote a little test program to try this and I cant get it to work. Forgive me if I have got it completely wrong, i've only moved from 'C' to VC++.NET in the last few months. I have a button that when clicked should run a little delay routine (large_function in external_class) for a couple of seconds (using a loop and the stopwatch). I expect to see the GUI responsive and show whats happening via the label, but i'm having a bit of trouble on gettining the BeginInvoke and EndInvoke parts ...Show All
