rtaiss's Q&A profile
.NET Development Error message when i try to run this code
Dear All; i have a problem when i try to run this code by using asp.net visual c# private void color_SelectedIndexChanged( object sender, System.EventArgs e) { Message.Text=""; switch (Color.selectedItem.Text) { case "Red": Message.Text+="<Font Color='"+Color.SelectedItem.Text+"'>"; Message.Text+="You chose Red"; Message.Text+="</font>"; break ; case "Green": Message.Text+="<Font Color='"+Color.SelectedItem.Text+"'>"; Message.Text+="You chose Green"; Message.Text+="</font>"; break ; case "Blue": Message.Text+="<Font Color='&quo ...Show All
SQL Server how to change default system database location after install of ssql express?
don't like the default location being in c:\program files\Microsoft SQL Server\MSSQL.1\ If you want to move the system databases you will have to suhtdown the service, move the system database files and change the appropiate settings in the registry. Then you will be able to start the service again. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\Parameters HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C++ DLLMain defined in .obj file?
Does anyone know if when you use the wizard to create a dll in visual c++, it puts the definition of DLL_Main in the Project_Name.obj file I get an error when I add in a definition of it in the cpp file, saying its already defined in the obj file. It's not in the cpp file when I first create the workspace. Ah, the return of the summer function This is a MFC DLL. It does not need DllMain, DllMain is provided by MFC. And you say that you can call summer from VB !! I have no idea how come that it works. summer function here is a member of a class and for various reasons (calling convention is thiscall and not stdcall or cdecl and the name of the function is decorated) you cannot call this (easily) from any other language than C++ ...Show All
Visual Studio Team System TFS puts the files an which path?
TFS puts the documents files an which path i can't find anywhere or it puts the all documents in the Sqlserver database Thank u for all U. I found the table Docs in the Database STS_Content_TFS and the infomation about all docs are in this table The [Content] column records the content of the doc in binary. So it can be read and resave. ...Show All
.NET Development Socket connection over network share program
I have a program that makes a connection to a socket. I am currently trying to run it over a network share (the executable is on another machine and I am just running it from that, not copying it to my local machine then running it). The program works fine except for when I try to connect to the socket I get an exception, and the message of the exception is as follows: Request for the permission of type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Does anyone know how to make it so I can connect by in this case Whether it be a windows option to change or something in the code. Thanks Thanks, I put a strong name key in my assembly and just ...Show All
Visual Studio Run .Exe from MSBuild on Target BeforeBuild
Hi all, Is it possible to run an .exe file through MSBuild (from command prompt). How we should do this.. All that I need is to run an .exe from Target BeforeBuild. Thanks in advance Manish Bhushan. You should have a look at the Exec task. Sayed Ibrahim Hashimi www.sedodream.com ...Show All
Visual Studio 2008 (Pre-release) What is xxx.vsHost
VS.Net often generates a xxx.vsHost file. What is the purpose of this file Do we need to deploy this file in production environment. ...Show All
Software Development for Windows Vista InkCanvas Z-order support
Hello, Is it possible to implement Z-order functionality with *ink and objects* in InkCanvas Specifically be able to have, for example (from lowest layer to highest layer): a. a text box b. some ink overlapping the text box c. some shape overlapping (b) etc... From what I've seen, "ink" in an InkCanvas is always rendered "on top". What would be involved in creating this functionality Thank you, Boris Hi Boris, if I understand you correctly you basically want to assign a different z-order to different subsets of your ink strokes. For that you would need one InkPresenter (or InkCanvas which is built on top of InkPresenter) for each layer of ink. You go co ...Show All
Visual Studio Express Editions Following item failed to download
Setup has stopped because the item listed above could not be downloaded... It dows that trying to install any Visual Studio Product. Have you gone through the download troubleshooting guide http://msdn.microsoft.com/vstudio/express/support/troubleshooting/ If you still have problems try to include more details about what is going wrong and what product it is. It might also be helpful to know what operating system you use. ...Show All
SQL Server SSIS and datasources
I have several SSIS packages which I have setup using a datasource to connect to the database. I should be able to switch between databases by just changing the server and database on the datasource but for some reason the ssis package keeps on using the old database. I have the connection managers setup to reference the datasource and can see the connection manager pointing to the new database but when I run a task by right clicking on it and choosing execute task it calls the stored procedure in the old database. I know it is doing this because I renamed the stored procedure in the old database and the task errored out saying it could not find the stored procedure. Can someone please tell me what I am doing wrong Greg, SSIS use ...Show All
Visual C# How can start and stop the threads [Parameterized thread]?
Hi, I would like to know the threading concept and How to start and stop the threading in C# application. Please help. I recommend that you read the whitepaper that Albahari Joseph wrote on Thread Programming in C#. You will find a lot of information about the different lock mechanisms and more background information: http://www.albahari.com/threading/threading.pdf ...Show All
SQL Server Trouble with Workflow DTS (SQL 2000)
Trouble with Workflow Hello. I have a DTS package that executes some tasks of the type "Execute Package Task". Every Task has a Condition of been executed just in case of success. I understand that only if the precedent task ends successfully the next one would be processed. My problem is that the DTS continues even if one of the previous steps fails. Would you have any idea ____________________________________________________________________ My escenario is something like this: EP: Execute Package Task ES: Execute Sql Task ______ _____ EP# 1 (on success) ----> EP# 2 (on success) ...Show All
Visual C++ create a child window that is join side by side to parent window
Hi, i do not know whether is this the way to ask this question. i am actually creating a window extension in IE. And i am required to create another window that will be join side by side to IE (even on resize) i have saw it somewhere b4 that it is possible but i do not know how to. PLease help as it is my final year project Thanks Regards Roy or is it possible at least what is that "supposely right" question to ask so that i can do the reseach on my own. It is because i dun even know how to phrase the above problem properly, thats why i cannot find an answer on the net. Thanks ...Show All
.NET Development excel odbc insert problem
I am building a program in C# that combines several different excel files into one excel file with several sheets. The excel driver does not support batch queries, so I must insert into the new sheet line by line. The problem that I am running into is that I have one sheet that fails to allow the insert after a number of them have already been inserted. my error is- System.Data.Odbc.OdbcException: ERROR:[HY001] [Microsoft][ODBC Excel Driver] Cannot open any more tables. I know it is not the connections, I know it is not the amount of data being inserted into the table. Previous insert statments that are almost identical work, and it consistently fails on the same records, but if you try the same record more than once it will often work. ...Show All
SQL Server pls..help me to find out the error in the code
hi, when i tried to run the following code , the code keeps on running without creating the required table............... pls can anyone help me to figure out the problem........ waiting for your replies... int row_head = 3; int col_head = 3; TextBox [] columns1= new TextBox [5]; TextBox [] rows = new TextBox [2]; for ( int i = 0; i < 3; i++) columns1[ i ] = new TextBox (); for ( int i = 0; i < 2; i++) rows[ i ] = new TextBox (); columns1[0].Text = "col1" ; columns1[1].Text = "col2" ; columns1[2].Text = "col3" ; rows[0].Text = "rowh1" ; rows[1].Text = "rowh2" ; String [] description= new st ...Show All
