J A N's Q&A profile
Visual Studio Express Editions accessing attribute of the object in the objects' arrayList
I have arrayList of objects and want to assign a value to an attribute(string) of object which is in arrayList I tried for (int i=0; i < arrayListofObj.Count; i++) { arrayListofObj[ i].string= maskedTextBox8.Text; } But it doesn't work. thank you For future reference 'it doesn't work' is not very helpful. Instead, try posting the error message you get from the compiler. In this case, the error message will be that object does not contain a string property. This is true. Why are you storing an array of objects If they are all of the ...Show All
Microsoft ISV Community Center Forums as400
I have been researching a way to rread data from an AS400 database using MS Access, but have been unsuccesful in finding something listing step by step directions. Is there any way to retrieve data from AS400 using MS Access or VBA alone, or do I need other things Thanks in advance, geebee I have done this using some additional software. We used NS Elite for Terminal Emulation, which has a program called NS Transfer,This allows you to send basic SQL and receive a file in a specified format. It is possible to generate a text file with the SQL statements in VBA, then you can shell the Transfer program with the text file as a ...Show All
Visual Studio Tools for Office How to create new workseet from VSTO Excel template?
Hi All, I created an VSTO Excel template with a single worksheet. I wanted this to be a worksheet template, so I've published it in OFFICE11\XLSTART folder. Now, I can create multiple workseets from this template but only the first one appears to execute code in worksheet class's events handlers like Sheet1_Startup... My code looks like this: public partial class Sheet1 { private void Sheet1_Startup( object sender, System. EventArgs e) { Console .WriteLine( "Sheet Name:'{0}'" ,((Excel. Worksheet )sender).Name); MessageBox .Show( string .Format( "Sheet Name:'{0}'" , ((Excel. Worksheet )sender).Name)) ...Show All
SQL Server SQL 2005 Standard error on Windows XP Pro SP2
When I run the SQLSTD.EXE for the September CTP of SQL 2005 Std I get the following error message: "There is not enough space on drive C:\ to extract this package." I have over 13 GBs on C:\ and I've also uninstalled .NET 2 Beta 2. Anything else I need to do to successfully install this TIA The 7zip extraction utility solved my problem--my congrats to them. They should license their product to Microsoft, since it seems that this problem has existed for years without any proper solution. We should all heap shame on "trial and error" workarounds. ...Show All
Visual Studio Team System Mechanism for Notification in VSTS
Hi , I would like to know , if there is any mechanism for notification or sending mails in VSTS(i am already aware of alerts)i would like to use this feature for sending mail to group of people. For example, if i want to schedule a review meeting and want particular group of people to attend that meeting, how do i notify them for the scheduled meeting. I want to send a mail to the attendees of the meeting. Is there any way for the same in VSTS Can i add one more entry in list of alrets Regards, Jayashree The alerts mechanism in VSTS is primarily used to send notifications about changes to data ...Show All
SQL Server from Express to 2005? - How to?
I have a database on SQL 2005 Express and i want to restore in SQL Server 2005 Beta 2 but it's not accepting it so how can i do it please any tool ..and in addition to that the license of beta is no longer valid since the RTM was published. if you want to move forward get a RTM version of developer or any version you want to migrate to. HTH, Jens Suessmeyer. --- http://www.sqlsevrer2005.de --- ...Show All
.NET Development Cannot Desrialize what i have serialized
Hi I have an object which inherits other object. My base object has few public properties of type IList. When i serialize my derived object, there is no problem. When i try to desrialize the xml back to my derived object, it throws an error which says "Could not deserialize global::System.Collections.IList. Parameterless constructor is required for collection and enumerators". The same works in .NET 1.1 and not in 2.0. Can anyone help me on this Thanks Jagan It just means that any type you are attempting to serialize must have a default constructor defined--the serializer cannot determine the signatu ...Show All
SQL Server SQL Server International Learning Survey
If you live outside of the United States or Canada we want to know more about your experience learning about SQL Server. How did you initially learn to use SQL Server What are your preferences for learning about new features What can we do to make SQL Server easier to learn and use Send email to wssinfo@microsoft.com to obtain a secure code and link to participate in a survey. Complete the survey for a chance to win a portable MP3 player. Please note the survey language in your email: English, French, German, Spanish, Russian, Japanese, Korean, Chinese Simplified, or Chinese Traditional. ...Show All
SQL Server install in customer server
Hello, I'm looking for a script to export all reports from server A (include all folder tree/datasource and reports) to a file in order to import in server B I'm looking the export and import scrip in order to install my reports in the customer server (I'm using SQL 2005) Thanks There are some KB Articles see http://support.microsoft.com/default.aspx scid=kb;en-us;842425 and some links in it... Here is the way I do it: -Install SQL Server + Reporting Services on the destination maschine. -Export the ReportServer and ReportServerTempDB on source maschine via SQL Server Management S ...Show All
SQL Server Passing Variables
I am having a hard time passing variables from the control flow to the data flow process. The project starts off with a Execute SQL Task. This task does a select from the sysdatabases table in the master db which creates a list of databases that will be queried for info. That is stored in a info is stored in a package variable (user::varDBName) that is used to enumerate a For Each Loop and everything is good till this point. How can the variable be passed into a t-sql statement in the OLE DB Source Or can the variable be assigned to another variable that holds the sql statement that will be accessed by t ...Show All
Windows Forms Beginners trouble
Just trying my hand at my first Forms application, converting an old VB6 program I did a few years back. My problem is as follows I have 2 forms, the user selects a csv file in form1 and clicks a button, a new form, form2, then loads and performs 3 actions 1. Converts the csv to a dataset and then transfers the dataset using webservices 2.&nb ...Show All
Visual Studio There is no source code available for the current location
Hello together I have a small C++ .net application written in Visual Studio 2003, Version 7.1.3088. .Net Framework installed 1.1.4322 OS: Windows XP professional, updated automatically The program also includes an unmanaged classes for communication using winsock. The Receiver routine (onDataReceived) operates in a thread . The program works very fine but if I set a break point to the receiver methode the Error: "There is no source code available for the current location" appears. If I call this method for example directly by a button event, all works fine and I am able to step into onDataReceived. 1.) I already had a deep rechere abo ...Show All
Visual Studio 2008 (Pre-release) ANN: Cider (Visual Studio Designer for WPF) videos
MSDN TV: Introducing "Cider" - The Visual Studio Designer for WPF ("Avalon") http://www.microsoft.com/downloads/details.aspx FamilyID=950d1eec-5d4f-4a15-8250-d26e24b80a5d Introduction video http://download.microsoft.com/download/b/1/1/b1117d15-28cd-44bc-9a95-dfcb76623028/20051020CiderMB.EXE Demo video http://download.microsoft.com/download/b/1/1/b1117d15-28cd-44bc-9a95-dfcb76623028/20051020CiderMBDemo.EXE Channel 9 MSDN Videos - October 18, 2005 http://www.microsoft.com/downloads/details.aspx FamilyID=87a5334b-e64a-46ae-a95f-cc64f ...Show All
Windows Forms Make Form modal to external hWnd
In a screensaver, when the Options button is clicked in control panel, it calls the screen saver with the command line argument /c:1234567 (for example) where 1234567 is the window handle of the control panel dialog that my Options form needs to be made modal to. How can I do this I tried Control.FromHandle but it returned null. I have the same problem, and I tried your solution. but the form does not become modal, the parentform can still be selected and closed. Any other suggestions (Sorry if I am thread-necromancing with this, it's just that I did a search and this thread came up) Thanks in adva ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
