Elad_23's Q&A profile
SQL Server Got BIDS working, was there another way?
i re-installed the SQLEXPR_TOOLKIT.EXE several times(4) trying to get the BIDS part to work. Each time i had the issue of it looking for the devenev.exe as others have mentioned. I gave up on a 5th install and went for the unsupported option of running vs_setup , after the toolkit.exe dumped all the install files to its temporary directory i went in there and ran it sperately... but essentially i did it the same way as this method... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=368549&SiteID=1 while this did work, it seems to be the unsupported way. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=665067&SiteID=1 Im not opposed to going back and doing it right, but was there ever a conclusion as to why the BIDS prog ...Show All
Visual C# reflex listview
i have listview content tow columns i want reflex between tow column how i can change property RightToLeft to ListView Because when i change this property the ListView dosen't flip. thank you If you are using VS2005, you can try RightToLeftLayout but there are some things to consider. Please check http://www.microsoft.com/middleeast/msdn for more info on RightToLeftLayout + changing the Listview on other VS versions too. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream From my experience (and that is having developed several shareware games) C# is no different than Managed C++. The same performance. Native C++ only has a small (within 1%) performace increase over C#. I have been successful in porting one of my games from CLI C# to MONO C# for linux/Mac OS X and it was flawless. C# IS the future, it's easier to read, easier to program, opens up the doors to RAD C++ because that's what C# is. What Roger said about the algorithms is true, after all the language comparisons, if its ...Show All
Software Development for Windows Vista Workflow application working in one comp but not in another
Hello, My problem is the following: I have an ASP.NET application with a validation workflow inside. It uses the membership and roles mechanisms provided by ASP. In my computer the application works perfect, the workflow starts, does all its job and completes successfully, but when I move the application to another computer the workflow aborts after saving some changes to the database. The workflow starts, gets 2 different events (start and save) and then calls an external method to save changes to database. It saves those changes (I checked the DB and it's OK), and then aborts. The problem is that when the workflow aborts it doesnt give any exception message, so I have no idea what the problem is, and as it works perfectly in my computer ...Show All
SQL Server Timestamping at record create
is there a way that when a record is entered into a table, that I can get it to timestamp itself Davids Learning Wow, I certainly wasn't trying to make you feel as though you were wrong and I was right. A "timestamp" is a valid datatype in SQL Server so when someone says they want to add a timestamp to the table, it has nothing to do with using a "datetime"-based datatype; that's really all I was trying to impart. A "timestamp" in SQL Server looks like this: 0x000000056A. We all knew what the implied definition was/is but I was just trying to help someone update their vocabulary so as to make life easier hehe What tool are you using to make the change I don't know which tool would give that type of ...Show All
Audio and Video Development XML Parser Performance..
Does anyone have any relationship data between XML Parsing (using the built in spec Parser) and specific CES devices We are looking for data based on the parsing and handling the parsed xml stream, such as dynamically creating menus, pop up messages, dynamic playlist navigation, game engine datasets etc. Our SAX implementation and DOM implementations are multi-format compatible but we are looking to verify performance at this time before giving up on the built in spec parser. Any one doing this kind of dynamic work already and willing to share their experiences Thanks, Denny B. HI Peter, This is very good to know as well. I think that is a good rule of thumb even if using the built in parser is:& ...Show All
.NET Development Problem System.IO.Compression and Memory objects...
Hello, I have a problem with the Compression library when the Stream passed to the constructor of the GZipStream or DeflateStream it is not a FileStream. I tried to use a MemoryStream object but the last bytes were always missing, I have this code(here I use DeflateStream, but with GZipStream is the same behavior): // Compressed XML Data in a stream object MemoryStream XmlMemory = new MemoryStream (); //link the memory stream with the deflate stream DeflateStream CompressedData = new DeflateStream (XmlMemory, CompressionMode .Compress, true ); //write the xml to the deflate stream ThoroDataPast.WriteXml(CompressedData, XmlWriteMode .WriteSchema); After decompress the data, the last char ...Show All
SQL Server Performance difference
Hello, i'm running 7 same HW&SW configured servers with the same load with SQL Ex 2005 SP1 installed. I'm executing SP over 200.000 times a day. And here comes the problem, every server got different average response time, the quickest executes the SP in 1 ms, the slowlest in 50 ms, that's 50x slower! Have you any performance hint, please Thank you. You can set these in the app, but you need to retrieve the output which will include multiple result sets, and several messages. You can also set the parameters when submitting the batch from sqlcmd, but either way works. ...Show All
SQL Server Hierarchical Cumulative Sum
I have a table consisting of 3 columns: Parent varchar(50), Child varchar(50), Pop int. The table is setup as follows: Parent Child Pop ---------------------------------- Europe France 0 France Paris 1 New York New York City 10 North America United States 0 North America Canada 0 United States New York 0 United States Washington 0 Washington Redmond 200 Washington Seattle 100 World Europe 0 World North America 0 This is just some sample data modified a tiny bit from an example of a hierachical print out sample that is a stored procedure that allows me to pass any place and see all of that place's children/grandchildren. I need to figure out how to write a query to show me cumulative sums (ROLLUP ) of the whole tree. So the output should ...Show All
.NET Development Working with XSD.EXE generated classes and CDATA sections
I've generated a class hierarchy using xsd.exe against a 3rd-party provided .xsd schema file. I can create the objects and get the appropriate elements, attributes, etc. as desired. After I create the object hierarchy and specify all the appropriate elements, attributes, etc., I serialize the objects to a .xml file using XmlSerializer. I'm having one challenge writing a .xml file in the way that it's supposed to be written (per some example output that the 3rd party has supplied to me). One of the elements will have its "inner text" set to a CDATA block. The XSD.EXE tool exposed a "Value" property on that element to allow setting that inner text. If I simply specify the "element.Value" property to the string d ...Show All
Visual Basic How to switch to another application from mine
Hi, I want to be able to switch to another already running application when a user presses a button on a main form. I can enumerate the running processes and see that the one I want is running, I can get its Window Handle. How can I switch to it. Sven De Bont wrote: You can use the ShowWindow API for this <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _ Private Function ShowWindow(ByVal hwnd As IntPtr, ByVal nCmdShow As Int32) As Long To restore a window, use the value 9 from your code ShowWindow(hwnd, 9) See http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/WindowsUserInterface/Windowing/Windows/WindowReference/WindowFunctions/ShowWindow.asp ...Show All
Windows Forms Adding Components to Windows Forms
anyone have any links on how i would add a component control to my windows form I created a component and now i want it to be inside my panel on my windows form but I cant find much info on the net to help me out though.... Actually when i do this...nothing happens at all......When i created my component all I did was add three labels to it...and i just want the three labels to show up in the panel i have on my Windows form..... ...Show All
Software Development for Windows Vista Terminate the workflow instance with a While
Hello, When I run my workflows I can terminate the current instance if I need to do it. But if I use a while activity the Abort freeze. Here is the repro: 1. Add a while activity with an infinite condition loop (ie this.Activities.Count > 0) 2. Add an activity inside it (ie. code activity) 3. Start the workflow and after some time call Abort() or Terminate(). The workflow is frozen. Thanks, Pierre Pierre, in my case, that works as expected (RC4,July ctp), I've tried the Abort(). 1° is the WorkflowAborted event triggered 2° is you code waiting for a AutoResetEvent somewhere don't forget the waitHandle.Set() in the WokflowAborted event handler Serge ...Show All
.NET Development unable to create odbc data connection
hi, i am using visual basic 2005 and oracle 8.0 as my data base. i had created the odbc. i had created a odbc data connection in administrative toos. But when i try to create data connection in vb, selected Microsoft ODBC Data Sources, when i test connection, it says an error message: ERROR[NA000][Microsoft][ODBC driver for oracle][Oracle]ORA-03121:no interface driver connected- function not performed ERROR[IM006][Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR[01000][Microsoft][ODBC Driver Manager]The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr). Do i have to download any other driver to support ODBC If so please sent me some links. Is it free ...Show All
Visual Studio Express Editions How can I avoid code repetition?
Hi I need some help on my project. I have 76 textboxes and 76 textfiles. I want each one to display the text from it's corresponding textfile. In other words Text in textfile1 in Label 1 Text in textfile2 in Label 2 Text in textfile3 in Label 3 and so on until 76 Is there any way easier than repeating the code 76 times well if the labels had an incremental number at the end of the control name and so did the textfile, then its simple. Example: label1 -> textfile1.txt label2 -> textfile2.txt as you see, each "number" for the control maps to the "number" of the textfile. If this were the case, this could work: for each currentControl as Control in Me.C ...Show All
