Rattlerr's Q&A profile
SQL Server Use Partial or No_Cache mode in Lookup task
Hello, Can anyone explain to me (or show me where to get info) in what scenario should I use Full Cache, Partial, or No_Cache mode in the Lookup task I got below warning message during execute my package. I understand that my lookup data have duplicate reference keys. I want to change the mode to partial or no cache to see how it works, but don't know what to change for the parameter map. Warning : 0x802090E4 at Data Flow Task , Lookup [37] : The Lookup transformation encountered duplicate reference key values when caching reference data . The Lookup transformation found duplicate key values when caching metadata in PreExecute . This error occurs in Full Cache mode only . Either remove the duplicate key va ...Show All
Visual Studio Express Editions Game problem
Hi, I am struggling to do a game. 6 values: 13, 99, 7, 32, 23 ,24 Enter the number: 3454 Suppose that 3454= ( ( ( ( 99 - 7 ) - 32 ) - 23 ) * 24) - 13 With these values , I must obtain the number that is entered. I am thinking on it but nothing comes to my mind . Would you please help me I made a gues while giving example for you t ounderstand my problem so there is no any truthness in the example that I gave to you. First of all thanks for your interest. My aim is to write a C++ program that reads a subset of values as well as the number that is to be obtained from the user and determines whether or not the number can be obtained by using a subset of the given values and four arithmetic operations. So I have some doubts that ...Show All
Visual Studio Team System Missing references in web project
Hi I have a problem with a web project in our solution. When I get the solution form source control, into say an empty workspace, I am unable to successfully compile the solution as the web project is missing some references. I add the references and everything is okay. However when I try to view pending changes there are none. The missing references refer to a couple of dll's that we have written and are found in a library directory that is part of the solution. Can anyone tell me how I can make sure the references are included in the web project. We intend doing nightly builds but this will cause an issue as we need to manually add the references each time we get the solution fresh form source control. Thanks Brett ...Show All
Game Technologies: DirectX, XNA, XACT, etc. question on classes in XNA
ok...this is a very basic question, but stopping me from doing anything useful. I'm trying to create a basic "Sprite" class, but the telesense doesn't even recognize the class object I am creating. Are classes somehow shut off in XNA or am I missing something simple here This code below makes C# angry Sprite mySprite; mySprite = new Sprite(); mySprite.x = 5; Put it in a namespace namespace YOURPROJECTNAME{ class Sprite { ..... } } If you did "add class" from the project it should create this for you. ...Show All
Visual Studio Integration of VSS 2005 and SQL Server in VS2005.
Hello, We are in-process of integrating SQL Server stored procs in Visual Sourcesafe 2005. I was just wondering if we can do each and everything from Visual Studio 2005 IDE, one click solution, just like what it has for normal source code (c#,aspx). How can we customize VS2005 to intereact with Sql server procs with check-in/check out procedures. I understand VSTS for Database Professionals can be installed for this. I know very little about this. I assume this requires extra softwares to be installed. I want to make an environment seamless to developers for their .net development and database development. Thanks in advance. blues22 Blues, You can add a "database project" to your solution. It's not quite 1-cl ...Show All
Visual Studio Express Editions Importing Cells from Excel into "TextBox1"
Hi all, Im trying import specific cells from excel into my VB text box rather than one big chunk. The code im using at the moment is: TextBox4.Text = My .Computer.FileSystem.ReadAllText( "C:\Documents and Settings\Ragemonkey\Desktop\test1\OW_OPOM_20060815180000.csv" ) Can anyone help Cheers.. One way is to load the CSV file into excel and then pick the elements off. You'll need to use the Office Interop which means you'll need excel on the machine your running you application on. Basic example is provided in the following How to Automate Excel from VB http://support.microsoft.com/default.aspx scid=kb;en-us;301982 This should gets you going on the general idea of using Excel from VB and then ...Show All
Visual C# How can I change the volume using C#?
How can I change the volume using C# Thanks, I want to use a trackbar or buttons (up and down) using QuartzTypeLib(quartz.dll) IMediaPosition, but when ever I try to change the vol., Value is out of range. Is there another way to change the volume other than using the Master Volume You can easily implement your own by inheriting from the TrackBar class and painting it yourself or completely building your own from scratch. Take a look at these two Code Project article on some examples on how it can be done. Also, rather than continuing to ask questions in this thread I would suggest asking new ones in separate threads so that they are visible to others and where you’d like get a faster response because despite activity ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Runtime footprint on 360
How much RAM is left to play with on the 360 once the launcher and runtime has loaded That would only let me know the available managed heap space - I'm assuming there is an unmanaged heap knocking around as well. An official breakdown of memory allocation would be useful as well - for instance, do the managed and unmanaged heaps fight for space, or do they have their space already allocated. And what goes into each heap when stuff is created - for instance with vertex/index buffers, textures, sounds. ...Show All
Windows Forms Progress bar
Hi All, I have a main form and at some point of code,I want to show progressbar..so I created a new form with progressbar and wrote this code to it; this->progressBar1->Minimum=0; this->progressBar1->Maximum=5; this->progressBar1->Value=1; this->progressBar1->Step=1; for(int i=1;i<6;i++) this->progressBar1->PerformStep(); so at some point of code in MainForm, I invoked this form with progressbar..but how to close this window automatically after sometime Thank you I am doing it too.. In my mainform, code is like this ...................... ProgressBar_MainForm^ progressbar1=gcnew(ProgressBar_MainForm); progressbar1->ShowDialog(); .. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xbox 360 controller thumbsticks
hello, I'm trying to move a Sprite with my 360 controller thumbstick, the X directions are working but the Y directions go the wrong way. can someone help me here's my code: void UpdateBall() { GamePadState gamepadstatus = GamePad .GetState( PlayerIndex .One); if (gamepadstatus.IsConnected == true && gamepadstatus.PacketNumber != gamepadvorigestatus.PacketNumber) { if (gamepadstatus.Buttons.Back == ButtonState .Pressed) { this .Exit(); } if (gamepadstatus.ThumbSticks.Left.X > 0) { int thumbstickX1 = Convert .ToInt32(gamepadstatus.ThumbSticks.Left.X); ball.ballposition.X += thumbstickX1 * 4; } if (gamepadstatus.ThumbSticks.Left.X < 0) { int thumb ...Show All
.NET Development bool true, false values with SqlData
If i have a bit type in my SQLDB called IsNew....which holds 0 or 1...can i use as something like When i have a new customer i can Insert data that will enter a value of 1 in the IsNew column....so if i had a property in my code called _IsNew that i set it to the value of IsNew in my database....could i do something like could that work like so....I am trying to get a better understanding of using bool flags in data driven applications if(_IsNew) { insert data } else { update data } Just a thought. If you are actually considering this with a record, then the better way to do is to record the create date, and then with queries on the customer use SQL Date Functions to return a boolean to your outpu ...Show All
Visual C++ Files paths withing VS 2005?
I guess I'm not smart enough to figure out how to get the file path of a file opened inside VS 2005. With VC6 you could get a file's properties and there view the path. I guess Microsoft determined that wasn't usefull so its not in VS 2005. So is it possible to get the path of a file opened in VS or is a yet another thing that makes me wish I could go back to VC6 When you've got a file selected, take a look at the Properties window (likely) in the lower right hand side of your window to see the file properties. If you do not see that Window, from the View menu select Properties Window and try again. ...Show All
Windows Forms need to make the outlook 2007 TODO BAR!
hi , i need to handle tasks in my app and i need to make something like the outlook 07 TODO BAR.... or atleast thats the best thing i've seen so far. basically i need something that doesnt take space on the client area but is easily accesible ,so if anyone has better controls tell me! ok , lets assume i have to make the outlok TODO bar: http://gidsfiles.googlepages.com/outlook_todo.jpg i know : its a Form or atleast inherited from Form and hides() when it loses focus i need to know: how is the vertical bar made its colour changes when clicked and most importantly displays dynamic text ! The form is not only coloured , it had this nice border around it , is this just a picture I dont need the calender , i plan on just us ...Show All
.NET Development Loading words from text file in an array
Hi, How do i load a bunch of words from a text file into an array. And how can i randomly show them in a label with a sleep thread of 3000 milliseconds This is how the words in the document look like: test; west; coast; east; I tried using the for and foreach statement. Without luck! Hope you guys could help me out. Thanks in advance! read lines into an array: StreamReader theReader = new StreamReader("File.txt"); ArrayList theWords = new ArrayList(); while(!theReader.EndOfStream) { theWords.Add(theReader.ReadLine()); } theReader.Close(); Randomly show the words: Random r = new Random(); int numberChosen = r.Next(0, theWords.Count - 1); MessageBox.Show(the ...Show All
.NET Development errors adding a web service with sockets to a C++ project
Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All
