MariamCR's Q&A profile
Visual Basic ListBox & StreamWriter & StreamReader
I have a "Form" with: 1- List Box 1- TextBox 3- Button 1- OpenFileDialog 1- SaveFileDialog I want that clicking the btn1 it shows the OpenFileDialog and read file that it has got this structure: SKI1 0 1 7 1 0 0 18 10 1 19 0 29 10 1 30 0 40 10 1 41 0 50 10 1 51 0 62 10 1 63 0 81 10 1 82 0 95 10 1 2 0 0 95 16 5 3 0 1072 0 1 4 2 1 93 15 I want that it reads all Line of the File and it add an Item in ListBox for line. For example the first Item of the ListBox in this case is SKI1 And the 2th Item is in this case. 0 1 7 I want using the StreamReader classes. And i want that when i click an Item of the ListBox it shows the Text in the TextBox and I can edit the Line and that clicking antoher but ...Show All
SQL Server Microsoft SQL Server 2005 DTS Designer Components
Hi, I learned this from one of SSIS book-Migrating from Data Transformation Services to Integration Services in SQL. For the design time components, Microsoft has created a special distribution called the Microsoft SQL Server 2005 DTS Designer Components. The Designer Components distribution replaces the components that get uninstalled when you upgrade your last instance of SQL Server 2000. If you want to upgrade all your SQL Server 2000 instances, this is the best and only option for recovering the DTS designer. Is anybody heard of this 2005 DTS Designer component Where to download How it works Any experience to will be appreciated. Thanks, Charley Some info here- DTS2000 ( http://wiki.sql ...Show All
Internet Explorer Development trouble porting Firefox toolbar to IE
Hi I currently have a Firefox toolbar and am trying to figure out how to port it to IE. You can find a copy of my toolbar on www.prowebsurfer.com . It is written in JavaScript. I have done a lot of toolbar stuff with FF and several Ajax based web applications, how ever I do not know much about developing IE toolbar. I hired a contract programmer with IE extension experience, how ever I find it hard to believe IE works the way he says. My basic firefox toolbar works as follows browser starts up browser calls my initialize code I use XMLHttpRequest() get back an XML config file stored on my web site. (www.prowebsurfer.com) I register an event handler for onWindowLoad. there are some other ...Show All
SQL Server Table partition issues
CREATE PARTITION FUNCTION [HourRangePF1] ( datetime ) AS RANGE RIGHT FOR VALUES ( N '1900-01-01 01:00:00' , N '1900-01-01 02:00:00' , N '1900-01-01 03:00:00' , N '1900-01-01 04:00:00' , N '1900-01-01 05:00:00' , N '1900-01-01 06:00:00' , N '1900-01-01 07:00:00' , N '1900-01-01 08:00:00' , N '1900-01-01 09:00:00' , N '1900-01-01 10:00:00' , N '1900-01-01 11:00:00' , N '1900-01-01 12:00:00' , N '1900-01-01 13:00:00' , N '1900-01-01 14:00:00' , N '1900-01-01 15:00:00' , N '1900-01-01 16:00:00' , N '1900-01-01 17:00:00' , N '1900-01-01 18:00:00' , N '1900-01-01 19:00:00' , N '1900-01-01 20:00:00' , N '1900-01-01 21:00:00' , N '1900-01-01 22:00:00' , N '1900-01-01 23:00:00' ) I have created a partiti ...Show All
Visual Basic How to open a CSV text file and import that data to a database?
I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All
SharePoint Products and Technologies MOSS2007 standalone no search results
Hi I have done a standalone install and added a couple of users, a couple of sites and a couple of documents. Searcing for any of these returns nothing. The default content access account (NT authority\local service) has Full read permissions to all zones under 'Policy for web application' in Central admin. A crawl has been completed but the following warnings are in the crawler log: " http://csciisris2 The object was not found. (the item was deleted because it was either not found or the crawler was denied access to it) Local Office Sharepoint Server Sites". Similarly for sps://csciisris2 and sts://csciisris2 Additionally there are some gatherer warnings in the event logs: "The start address < ht ...Show All
.NET Development Error on installation of .Net 3.0 [ Installation failed for component RGB Rast ]
Hi I have downloaded dotnetfx3.exe which of 50 MB. This is the first time I am installing .Net 3.0 I am getting following error [01/23/07,16:34:41] RGB Rast: [2] Error: Installation failed for component RGB Rast. MSI returned error code 1603 [01/23/07,16:34:51] WapUI: [2] DepCheck indicates RGB Rast is not installed. I have searched and they tell to install RGB Rast manually. But when I try that. It says user dont have p rivilege to install Waiting for reply Vikram shetty You can install RGB Rast manually from: x86 x64 ...Show All
SQL Server fail connect to intergrate services
Message: Cannot connect to server additional information - failed to retrieve data for this request.(microsoft.sqlserver.smoenum) - connect to SSIS service on machine "server" failed: error loading type library/dll - connect to SSIS service on machine 'server' failed : error loading type library/dll any idea soonyu if you talking about services->SQL Server Integration Services then confirm service already start. an still the same Problem -soonyu ...Show All
Visual Studio Team System Can not connect to tfs after re-install
I needed to re-install tfs. After which I get a error (TF31001: ... Server did not recongnize the value of HTTP Header SOAPAction: http://schemas.../CheckAuthentication ) when trying to connect via a client machine. I have added the client username as a tfs admin user. Any clues Sounds like you have an older client (Beta3, perhaps) and a newer server (RTM, hopefully). http://blogs.msdn.com/johnlawr/archive/2006/01/31/520872.aspx ...Show All
Visual Studio Team System Merge, Rollback issue
I have a Dev, Test and Prod branch. I merged the new changes that were done in Dev branch to the Test branch. New changes are: changesets number 100,101,102. I merged only 100 and 102 as 101 was not ready yet. Now, this merge creates a new changeset i.e. 103. I see some issues in the test line and then I rolled back the changesets 103 and checked it in which creates a new changeset 104. Now, I couldn't find a way to merge 102 back again. When i merge, I have 2 options: 1)All changes to specific version 2)Selected changesets. Lets take the second option first. It shows only 101 changeset available to be merged. It doesn't show me 100 and 102 anymore. Now, lets take the first option i.e. "All changes to specific version". When i s ...Show All
.NET Development serializing IMethodCallMessage with SoapFormatter returns method not supported exception
Hello: I am trying to soap-serialize an IMethodCallMessage intercepted with a custom proxy to a request stream of a HttpWebRequest. (In the context of my PhD on adaptable middleware) But i get an exception "method not supported" Serializing a simple string in stead of the IMethodCallMessage is no problem. Am I missing something "Use the SoapChannel" won't help me out, I really need to do it manually :) the code: //called from IMessage invoke(IMessage) internal object HttpCall( IMethodCallMessage imcm) { HttpWebRequest webrequest = HttpWebRequest .Create( "http://localhost:8080/foo/" ) as HttpWebRequest ; webrequest.Method = "POST" ; webrequest.ContentType = ...Show All
Smart Device Development Today screen wallpaper programatically(urgent help required)
Can any one help me in setting a wallpaper to a today screen programatically. I tried the following steps but could not succeed : edited the registry key HKEY_CURRENT_USER/ControlPanel/Desktop and in the wallpaper key i gave my own file name. and issued a sendmessage(); again i tried with HKEY_CURRENT_USER/Software/Microsoft/Today and added a file name under wall key. i used the wall key because when i tried to set the wallpaper using manually a wall key is getting created . can any one help me with this i need an urgent help.please help me. I don't need the sample code for writing a today screen plugin rather I want to write a program which can set an image as wallpaper for today screen. Could you pleas ...Show All
Software Development for Windows Vista Pre-RC1 Not Recognizing .NET Framework
I just recently installed Vista Pre-RC1 with the July SDK. When I attempt to open an .xps document, Internet Explorer gives a popup: "The content you are trying to access requires the Microsoft .NET Framework. Would you like to enable tihs optional Windows Vista component " If I click "Install Now", IE hangs for a bit, then throws the same popup again. Any ideas ...Show All
SQL Server Serious error in RS licensing docs on MS web site
Correct me if I'm wrong... There is a potentially costly error in at least 2 Reporting Services 2005 licensing docs on Microsoft’s web site. They fixed the docs a few months ago after I called and told them about it but, now they are bad again! Here are links to the bogus docs: http://www.microsoft.com/sql/howtobuy/howtolicensers.mspx http://www.microsoft.com/sql/howtobuy/sqlserverlicensing.mspx Both of these docs say that you need 2 SQL licenses to run Reporting Services 2005 on a separate server from the SQL engine. This is not true. You only need 1 license! You do of course need the correct number of CAL's or a CPU license. The license.txt file that ships on the SQL Server 2005 standard edition ins ...Show All
Windows Forms How to work with comma separated values?
C# VS2005 Am reading data from GPIB instrument, it comes back as comma separated values. I try to create a string and work with the new CSV features, but cannot find examples. Am hoping to take the comma separated value string from the instrument and put each value into a unique textbox. have tried many ways, cannot figure it out. have a string with CSV data, am hoping to see the new feature, otherwise will have to dig out old C books and manually sift thru the array of chars tia If it's a pure CSV, you can load it into a String and .Split it on the comma character. This will return an array of Strings, ordered by their sequence in the CSV. You can then place them into the a ...Show All
