snowrabbit's Q&A profile
Visual Studio Team System BUG?: Source control explorer/checkin asks to save/checkout inappropriate file
I have a solution loaded that I may have (or may not have made changes to the solution file) - (It didn't ask me to checkout before now... so I don't think I did). I went to source control explorer and checked out a word doc that was not in the solution. I edited it and went to checkin, both from the SCE and the pending checkins window it asks me if I want to save the solution file and gives me Yes, No, Cancel. If I say Yes, it asks me to checkout (which I don't want/need to do and should not be required since the file is unrelated.) If I answer No it doesn't save and doesn't checkin. If I answer cancel it doesn't do anything either. This seems like a significant issue as due to the integration in the IDE I can't work on i ...Show All
.NET Development troubles with SqlCommand.ExecuteScalar
Hi there, I'm fearly new to c#, did a bit of programming in vb.net... I've tried to get the result set of a SqlCommand.ExecuteScalar, and assign the values to int qryValue, but I get an error, and don't know the cause of it... string val1 = "SELECT COUNT(name) FROM employee where prov = 1 AND " ; lit1.Visible = true ; SqlCommand comm1 = new SqlCommand (val1 + " " + QueryVal, provconn); Response.Write(val1 + " " + QueryVal); provconn.Open(); int qryValue = comm1. ExecuteScalar ; if (ival > 0) { h1.Visible = true ; h1.Text = "Province" ; h1.NavigateUrl = path + " prov=1" ; } the error: CS0428: Cannot convert method group 'E ...Show All
Software Development for Windows Vista Interface inheritance and property Binding DialogBox: Bug?
Hi all, here is my class hierarchy: I've got the class WorkerObject that implements the interface IWorker the interface IWorker inherits from the interface IPerson My workflow have a property IWorker But when I try to bind an activity property to a field of my IWorker property, I can't see the fields of the IPerson interface. I've read that WF is strongly typed but I don't think it's a normal behavior. What do you think of this Antoine ok i sent it. I didn't receive a confirmation mail so I don't know if it has worked... If I have no news i will retry a report tomorow. here is the title of the bug i reported: "Interface inheritance and property binding dialogbox" Thx for your help Tomas ...Show All
SQL Server problem with DateTime picker
Hello. I've just created a new report and I added a prameter of type "DateTime". I didn't even used it in the query. Whan I preview the report I have the small calendar Icon. after I pick a time from the picker And press "View Report" I get the error: "the value provided for the report parameter P1 is not valid for its type" I'm using RS 2005. Any body know whats the problem Thanks in advance, Roy. Does this happen for any DateTime you pick, or only certain ones Can you type in a Date, say, "1/1/2005" and successfully render the report Does the same thing happen when you publish the report and view it in Report Manager ...Show All
Visual C# Process.start() how to
Hi All, I'm using process.start() to execute msbuild.exe. Is there any properties or method that I could set or call to wait until it completely finished before the next line of code get executed Best Regards, Process.WaitForExit() doesn't actually start a process. You really must call Process.Start() to start it. I don't know why the OP's code is not working - it looks like it should (with the WaitForExit() call). ...Show All
Internet Explorer Development Any issues with .NET framework 2.0?
Hi, I'd need to mak an IE plugin which connects to another .NET application, using some features available only in the .NET framework 2.0 (I believe). Since I've been googling a lot about this, I haven't found no examples in C# 2.0, but all the plugins for IE are still with .NET 1.1... Anything I should know Where I can find good examples, not only the BandObjects tutorial Bye LastHope The only toolbar I've built for IE was written in .NET 2.0, thanks to some handy features in 2.0 that we simply couldn't live without =] We did ours by (of course) extending the BandObject .NET wrapper. Under "design mode" we built our toolbar as the new ToolStrip control, programmatically adding our items to it (since they were dynamic). ...Show All
SQL Server Data types question - Varbinary and timestamps
Greetings once again SSIS friends, I have some source tables which contain timestamp fields (that's timestamp data type not datetime). My dimension table holds the maximum timestamp value as a varbinary(8). I want my package to have a variable that holds that value but I don't know which data type to use for this. The reason for this is because I want to use that variable to then retrieve all records from my source table that have a timestamp value greater than the value stored in the variable. Please advise on what data type is suitable. Thanks for your help in advance. DT_BYTES binary, varbinary, timestamp binary, varbinary, timestamp BigBinary, VarBinary RAW ...Show All
SQL Server Importing Pervasive SQL into SQL2005 via SSIS
In SQL 2000, I had a working DTS package that would import a Pervasive SQL database into SQL 2000 (There is a good reason, provided on request). The column type definitions came over just fine in SQL 2000 with a few minor changes. In SQL 2005 (SSIS), i create a Data Source via the Connection Manager (Provider: .Net Providers\Odbc Data Provider) to the Pervasive database (System DSN, <database_odbc>). I then create a Data Destination via the Connection Manager (Provider: Native OLE DB\SQL Native Client) to the SQL database. Both databases reside on the same machine. I've created a DataSource Reader and used the sql command, "select * from ARCustomer" as an example. The issue is with "data types" for the colu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SkyBox Effect using a BasicEffect
HI Guys, I am currently creating a skybox for my game and I need help with the BasicEffect settings . Right now my skybox looks like a cube with a texture on each internal face. I would like the inside of the cube to appear like it is one continual texture, not showing the corners and edges. I will be creating a skybox with a custom effect later, but right now I would like to use a basiceffect. Can you tell me what basiceffect settings I should configure to create this effect. thanks in advance. Alan Thanks Michael, I had to set the options that you gave and thanks Catalin, I had to centre the skybox around my camera. all fixed now. thanks ...Show All
Visual Studio Project.Build (string[] targetNames, IDictionary targetOutputs)
This code isn't working as I expected. Actually it doesn't write anything. This test is simple form of full test. In full test I used my own task that had [Output] attribute on property used for output. It didn't change anything. Engine engine; Project project; IDictionary hashtable = new Hashtable (); string documentString = @" <Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> <Target Name='Main'> <Message Text='Text' > <Output ItemName='Item' TaskParameter='Text' /> </Message> </Target> </Project> "; engine = new Engine (Consts.BinPath); project = engine.Cr ...Show All
.NET Development sending email in plain text and html
I am writing a wrapper class to the MailMessage class to make sending emails just a tad bit easier. the MailMessage class has the option of sending an html email OR a plain text email but does not allow for both. I could probably add the headers needed to send both myself, but wondered if there is a built-in way to do this that is not obviously apparent. please advise. thanks, Burr I'm starting to think that the HTML version contains both plain text and html as the header indicates multipart/mixed and multipart/alternative. However, in the NextPart section that contains the text/plain Content-Type as well as the NextPart section that contains the text/html Content-Type, there is nothing...they are totally blank. This could be Outlook ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprites Getting to small or big on resolution change??
Hi all I hope this is the right place to ask this.. at the moment when i change the resolution on my game all the sprite images and text get to small or to big.. and im not sure how to fix this problem. Thanks in advance Phillip Turner.. Thanks heaps it works great. ...Show All
Smart Device Development getting version with vb in compact frame work
Hi, Some one can help me, I'm starting to think thakis not possible get the versione of my project, i've try a lot of way, i've fund a lot of version but not those I need, the versione of my project that i worte in project/properties/application/assembly informations/assembly version. Please help me... By NETCF V2 - get assembly level attributes and grab the version. NETCF V1 - not supported. ...Show All
SQL Server exit the package conditionally
I'm inside a "dataflow" and i have a conditional spliter one of the condition say "ok" and the the other says "not ok" when my flow goes to the "not ok" condition I want to Abort the entire package execution I want to make it sure that the package is terminated and could not triggers the next control in the control flow. i want to kill/ abort the execution of all my SSIS processes for the entire package within the current dataflow The data flow is not the place to give the stop & go to the package execution flow. For that you should use the control flow and put some conditional logic in the precedence constrain ...Show All
SQL Server How do I create a database during installation of my C# desktop applicaton?
Dear all, I have developed a C# desktop application which uses SQL express as its database. It works just fine as I installed the application, used SQL express Server Management Studio CTP to create database with tables , stored procedures etc. Now, I want to create an installer that will not only install my application to other machines but also create the database with all the tables and stored procedures with it. How do I do so I searched the answer in several places but none worked out for me. Can anyone please help me on this For your convenience I'm giving the following informations: Database name: NorthPole SQL sever Name: Ishtiaque\Sqlexpress (used Windows Authentication Mode) I have detached the database from the original mac ...Show All
