forwheeler's Q&A profile
Visual Basic window menu
hi i want to make window menu in project so that all activated child form display in this menu. pls help me how can i do this thanks Hi, I think you want to show all opened MDI child forms list. You can achieve this by setting a MenuItem.MdiList = True Regards, Jawwad ...Show All
Visual C++ How do a create a new text file, and how do I insert an eof into it?
Hi, I'm looking to create a new text file. I am in second term C++ so we're not using the MFC or anything. We have covered opening, reading, closing ifstream and ostream objects from fstream.h , but nothing about how to create a file if one's not there. Is this possible Also - anyone know how to insert an eof into a file through a text editor or something in Windows I am given to understand the eof flag is represented by a ctrl-Z but I can't insert this using textedit. In the mean time I'm using a pipe symbol '|' as my eof flag which is much less elegant. Thank you o wise sages of the code. dangrmous wrote: If I create the ifstream object to open the file and the file does not exist, the ifstream object returns a nega ...Show All
Software Development for Windows Vista InfoCard schema
hai Can any one post the info card schema and the envelope security schema..... Thanks and Regards Raguvind Hi Garrett Thanks for your help it really helped me a lot..... but i have some doubts regarding the crd format... < Reference URI = " #_Object_InfoCard " > < Transforms > < Transform Algorithm = " http://www.w3.org/2001/10/xml-exc-c14n# " /> </ Transforms > < DigestMethod Algorithm = " http://www.w3.org/2000/09/xmldsig#sha1 " /> < DigestValue > 5TuCvlZNa6Jh2NGZZpxCDlGoS9c= </ Digest ...Show All
SQL Server Upgrade issues
Hi, I am trying to upgrade SQL Server 2000 Enterprise edition to SQL2K5 Developer edition. But it errors out without any detailed message. Is it because, even though the version is being upgraded the edition is downgraded, or could there be a different issue Anyone else facing a similar problem If I have to uninstall 2000 and install 2005 from scratch, what all things do I need to ensure so as no data is lost Thanks, Tanvi. Thanks Chad. I think, I would have to build the database from scratch. What steps should I ensure in order to achieve a smooth transition How should I transfer logins etc. Any suggestions will be appreciated. Thanks, Tanvi. ...Show All
Windows Search Technologies Maximum document size for WDS 3.0
Is there a maximum file size above which WDS 3.0 does not index the content anymore I have a Word document with 100.000 words. When I enter a term at the end that does not appear anywhere in the index, WDS does not find it. The same happens if I convert this document into a pdf (iFilter installed). Yes there is indirect limitation on a text size which is the size of an index for single document should be smaller than certain value (512K if I recall correctly). There is a direct limitation for text files (25Mb by default). Also there is a time limit for IFilter processing (120 seconds) for single document, but I don't think you are hitting this. ...Show All
Visual Studio Team System BizTalk 2006 and Team Foundation Server map/schema issues
I am having some issues with Visual Studio 2005 crashing when referencing schemas or maps from different projects. We are using BizTalk 2006, Visual Studio 2005, and Team Foundation Server for source control. I have three projects: SchemaProject1 SchemaProject2 MapProject (has a ref to SchemaProject1 & SchemaProject2) Steps to reproduce problem 1) Add a new map to MapProject. New map is added successfully 2) Click on the Source Schema link to choose a source schema Visual Studio does not respond by opening the Schema Picker dialog. Instead it just blinks for a few seconds and acts like the link was never selected. At this point, Visual Studio has already become unstable. When i try to close the solution o ...Show All
SQL Server The component metadata for "component "DataReader Source" could not be upgraded to the newer version of the component.
Hi, I have a package which reads an Access file from a folder. My connection manager to this file is .NET providers for Oledb\Microsoft Jet 4.0 OLE DB Provider. Package works from my computer. But when I execute it on the server as a SQL Agent job, I get The component metadata for "component "DataReader Source" (1) could not be upgraded to the newer version of the component. The PerformUpgrade method failed. I copied the mdb file to a folder on the server which my packages have no problem reading data from. My packages run under the same domain account as defined in proxies. Appreciate a help. Gulden Hi All, Thank you for the re ...Show All
SQL Server data retrival time
How can i speed up the return time from search between 2 different server I am currently using SQL 2000 and SQL 2005 With the same query, the searching time is much faster to select between database within the same server instead of two different one. Is there something that i can do in the server configuration to speed up the searching time Thanks in advance Hi Tengiz, I am Calling a SP with Views inside that will cross over defferent Server, For Example, in Server 2005 i have a SP called spSample in the data base called dbDEV within that SP I have View1, View2 and View3 in my databse , Tempdt, in Server 2000 so inside my SP it'll be something like the following ...Show All
Smart Device Development Memory requirements for Compact Framework v2.0 and SQL Server Mobile
Hi, I'm looking for some information on the memory requirements of installing the compact framework v2.0 and SQL Server Mobile onto a mobile device. What would be the minimum RAM/ROM requirements for the mobile device for installing both Thanks NETCF V2 is about 6 MB uncompressed/2 MB compressed. SQL Mobile core is about 1.5 MB uncompressed/.6 MB compressed. SQL Mobile replication support is about .7 MB uncompressed/.3 MB compressed. You need that amount of storage in order to install - PPC 03 compresses storage, WM 5.0 does not. Plus you need storage for your database, up to 4GB. RAM needed in order to run depends greatly on your application, could be as little as 2MB. Store your data in memory in DataSet or ...Show All
SQL Server Addicted to Stored Procedures: A time series problem. Is it possible?
It's been about two weeks since I first began using SQL Stored procedures and now I am thinking already about changing many of my plans and doing those operations in them. There is a problem I want to address and see if it is possible to accomplish it in SQL Server instead of the client C# code. I have a time series. In simplified presentation it is a table of two columns. The first one is float, the second is DateTime. There might be quite a few rows in the table: A1 ... DT1 A2 ... DT2 ................ An.... DTn What I need to do is to find patters among A1,A2,....An elements. They vary in magnitude in a rather random order. They constitute what some would call a Markov chain. I demonstrate what I want in a couple of real life example ...Show All
SQL Server what is the best way to do this search?
what is the best way to do this search I want a stored procedure which can serach in any of the filled form on my C# windows application. The textBoxes are: txtFileNo txtIDNumber txtContactNumber txtName txtBuilding txtBlock txtBox txtEmail I want SQL Server to search for any fiiled text, so if the user enterred txtName and txtEmail this it will onlt search for txtName and txtEmail. I know how to do this directly from the form but I want to perform this using stored procedure. still returning nothing.. here is my full code and stored procedure again for your review.. THE CODE: data_table = new DataTable (); sql_connection = new SqlConnection("Data Source=.\\SQLEXPRESS;initial catalog=shefa;in ...Show All
Internet Explorer Development IE7 dropdown autofind/autocomplete
On my .NET website in a dropdown list, whenever I quickly type in the first several letters of a selection it becomes highlighted according to those letters. This is a new feature in IE7 whereas in the older versions it would only take the first letter and not the first few letters. For example in a colors dropdown, I quickly type "Bro" and the word "Brown" is selected. However, when I type in one letter at a time in a slow pace, the selections of the dropdown are highlighted with only the first character. So if I type "A"...wait a few seconds...then "R", only the "A" will get recognized. My question is: Is there a way to make it so that there is no timeout on how long the browser waits for the user ...Show All
Visual C# params keyword
Hi, what's the difference between private void UseParams( int [] i); and private void UseParams2( params int [] i); To call the first you’d need to explicitly declare an integer array and pass it in while in the second the array is generated for you behind the scenes. Params is very useful in cases when you want to allow the caller of a method the ability to pass in an arbitrary count of data without having to require them to create an array. One area you find this often is with methods like Console.Writeline() where you can specify your format string (ie the thing with {0}, {1}, etc) and then pass in the values that will fill in those gaps. I should mention that while using params *can* generate the a ...Show All
Visual Studio List of available icons
In HostData/Icon/@ID one has to specify an ID for an icon. Is there an overview of the available icons (numbers as well as preview) somewhere available Regards, Hi AlexanderJ, Please download an excel file from here: http://clariusconsulting.net/softwarefactories/faceid.xls This is the one we use internally @ Clarius for browsing available icons. Let me know if you have any questions about this. thanks, -Victor. ...Show All
SQL Server Performance problem
HI, I have a performance problem with one of my set of packages. They run fine on dev machine but much slower on test server which has twice (8gb) the memory of my dev server (4gb). The first time I run the set of package they execute in less than a minute which is normal. But subsequent executions in same conditions (tables are empty) takes 2-3 minutes. When I restart Sql server 2005, the loading time is back to less than a minute. I enables the "use awe" for memory beyond 4 gb on test server and while executing, total memory is far beyond the 8gb of test server and on the four available processors, only one seems to be used. Also, deployment on other machines have no problems. We rebuilt the test server (re-installed windows ...Show All
