Amos Soma's Q&A profile
Internet Explorer Development I E 7 HP DIRECTOR PROBLEM
AT LAST I HAVE SOLVED THE PROBLEM WITH THIS HP SAGA. TODAY I FOUND THAT HP HAVE RELEASED A PATCH FOR THIS DIRECTOR PROBLEM. GO TO HP SOFTWARE &DRIVER DOWNLOADS AND LO AND BEHOLD THERE IN THE UPDATE SECTION THERE IS A CRITICAL UPDATE TO RESOLVE AN ISSUE WITH HP DIRECTOR AFTER INSTALLING INTERNET EXPLORER 7. IT TOOK SECONDS TO DOWNLOAD, AND AFTER MONTHS ALL SEEMS TO BACK WORKING AS NORMAL. WELL DONE HP, AT LAST YOUV'E GOT THE FINGER OUT DAVRUS ...Show All
SharePoint Products and Technologies The concept of approval workflow
I just want to know how to do it right. The customer wants to get a docflow with purchase orders. Some managers might approve the order and could edit some fields in the form. Any files (scans, docs) could be attached to the form. After all the filled/approved form have to be saved in a document library. I'm not familiar with a workflow, so I think there are two ways to realize that: 1. Create a form library with a infopath template and start a workflow when a new document created. But how to get access to some fields of infopath document to modify them and how to protect some fields from editing by some managers 2. Create a workflow with variables and custom forms on each step. But how to create a filled form and any ...Show All
Visual Studio Express Editions Newbe How to questions(loops)
How do you place five choices from a combo box into a loop. In other words I have five items in a combo box that I want to place in a "for loop". For example, I have items such as choice1, choice2, choice3, choice4 and choice5 inserted into a combo box. Also I would like to know if it is possible to place these choices into a "do while loop". Any help welcome Hi, here are some loops you can try out: For Each choice As String In ComboBox1.Items MessageBox.Show(choice) Next For choiceIndex As Integer = 0 To ComboBox1.Items.Count - 1 MessageBox.Show(ComboBox1.Items(choiceIndex).ToString()) Next Dim choiceIndex2 As Integer = 0 ...Show All
Visual C# Classes 101: How to load a class with a copy of the same class?
Please consider the following (oversimplified class). What I want to do is pass this class another instance of Person, and have it assign its own properties to match those of the class I'm passing in. public class Person { private string firstName = string .Empty; private string lastName = string .Empty; public string FirstName { get { return firstName;} set { if (firstName == value ) return ; firstName = value ;} } public string LastName { get { return lastName;} set { if (lastName == value ) return ; lastName = value ;} } public void Load( Person p) { this = p; } } The problem is in the Load() function - you can't do "this = p;". Instead you have to: this ...Show All
Visual Studio 2008 (Pre-release) Best approach for migrating projects.
Hello All, I am migrating some VB.NET 1.1 code to WPF C# (.NET 3.0). Here is what I have done till now: Before we move on, remember that the existing application is GDI intensive application and we are migrating JUST the graphics part to WPF for performance reasons. So the approach has been, 1.) Migrate from VB.NET 1.1 to C# (I have used some conversion utility to do this job, although the result have been not so good, it has helped me get a basic structure ready) 2.) This C# code is at most .NET 2.0 compliant, because of the namespaces it uses. Namespaces like System.Windows.Forms, System.Drawing, System.Drawing.Drawing2D etc have no place in WPF based applications (or .NET 3.0). 3.) I am finding the equivalent namespace ...Show All
Windows Forms Howto set different colors for different databound items in datagrid??
Hello I'm displaying 5 different databound items in a data grid. I want to give each item a different color.That's 1.Open >>Green 2.Close>>Red 3.Something>> Purple and so on Please help Thanks Fahad Hameed Software Engineer http://www.cubexsystems.net these might help Me .DataGridView1.Columns(2).DefaultCellStyle.ForeColor = Color.Green Me .DataGridView1(1, 1).Style.ForeColor = Color.Green Me .DataGridView1(0, 1).Style.BackColor = Color.Red Me .DataGridView1.Rows(2).DefaultCellStyle.BackColor = Color.Blue ...Show All
Community Chat Really wasted my time with MS products all these years
Sabayon 3.2 demo: http://youtube.com/watch v=r9oHZQVGrF8 After install, you have it all out of the box without buying/downloading applications and stuff. it's all out of the box so when you're installation is ready, it is really ready. No need for downloading/buying dreamweaver, Nero, Photohop, Rippers, office, Winamp, codecs etc. etc. Appz to get thing done are all included. When I would go back to Vista now, I wouldn't feel satisfied, like being on an old OS which lacks technology that can be used in 2006. I really wasted my time testing RC1 and RC2 etc. I'm on windows since MS-DOS, I know it inside out, it all begun with the fact that I don't buy a complete PC because I upgrade my own PC's once in a while so you don't get a newer OS wh ...Show All
Windows Forms Image display form....some questions
I've written a very simple form that loads an x number of images from a local directory and displays each bitmap in picture boxes. The result is that each image is displayed one row at a time. I don't like the way the images are currently being displayed. Is there some kind of formula I can use to display them in rows of 5 at a time There could be anywhere from 50 images to 500 images being loaded at a time. I don't want the images to be displayed one row at a time like it is right now, but i can't quite figure out how to come up with the correct row and column offset numbers when setting the location for each picture box. thanks in advance! Try this algorithm int i, cnt = 0, currX = 0, currY = ...Show All
SQL Server Running the package through C# UI
one more guidance needed with regard to the Quotation marks path = @"D:\SSISProject\Integration Services Project1\ArchiveTicket.dtsx"; jobCommand = new SqlCommand(@"xp_cmdshell 'dtexec /f "'path '" /Set \package.Variables[User::ArchiveFileType].Properties[Value];""Excel""'", cconn); How Do i set the path's value in c# the quotation marks are wrong again. cos i want to set value of path according to selection in the UI. Select("deviceUniqueId = '" + deviceUniqueId + "'"); is an e.g of Doing in C# but when i implement it through text it does not recognize Thanks Jas If you know about escape characters that is goo ...Show All
Visual Studio Class and Method Metadata Description for VS.NET Intellisense
Hi, In VS when we make use of any inbuilt Class or method, we get a yellow color pop up description about that Class or method. However, I am not able to providde the same kind of descriptions for the classes and functions I have built. I need the description for the methods to pop up as these classes and functions will be consumed by other developers. I believe we need to make use of tags like C# : [Description] or VB.NET : <description> However, I am still unsure how to go bout it.... Can anybody help Thank you. - Goldy Verma Well ... since no body replied and by the mean time i have found solution partially.. how smart of me :) i ll share dis in case u r look ...Show All
Windows Forms Error adding a data source - Connecting to a UDB DB2 database on an iSeries Computer i810 V5R4
I am unable to successfully add a new data source to a Visual Studio 2005 project using the "Data Source Configuration Wizard" being a ODBC datasource defined on the client using the iSeries Access ODBC Driver . On the "Choose Your Database Objects" window I get the following error message : An error occurred while retrieving the information from the database: Column ‘PROCEDURE_CAT’ does not belong to table Procedures Does anyone have a resolution for this GavH Thank you for your response. I am using iSeries Access ODBC Driver Version 9.00.00.00 . I am in the process of checking versions. Within Visual basic 6.0 I do not have a problem creatin ...Show All
Visual Studio Express Editions Is there a trick to avoid the installation of service pack 2?
Hello, I have a few questions. Question 1 I have just tried to install Visual C++ express edition. Why do I have to use service pack 2 I do not want to install it. It took me 30 minutes to install service pack 2 and I will never use it. Why is that Is there a trick to avoid the installation of service pack 2 Question 2 Someone is writing a software package for me and the compiler of Visual C++ express edition has to be built into the software. Only the compiler! I intend to use the package for my own use, but let's say I am going to sell the package later while the compiler is in it, is that ok The FAQ for express editions says: "Can I use Express Editions for comme ...Show All
.NET Development syntax error- insert into statement!!!
have a problem on this code.... dim sql as string = "Insert into table1(column1, column2) select column1, column2 from table2" com = New OleDbCommand(sql, con) im using VB 2005 and Access as my databse. i test my insert statement in MS access, and successfully append record... but when i placed it in vb net, it state that "syntax error in insert into statement"... What are the actual column names in your statement Most likely some of them using reserved words like Name, Date etc. In this case provider could complain and generate exception. You could avoid it placing all the names into square brackets, like dim sql as string = "Insert into [table1]([column1], [column2]) ...Show All
Visual C# C# 3.0 release date
I heard elsewhere it'll be released when .NET 3.0 is released, but that doesn't sound right. I can't find anything on Microsoft's website. When is it coming out If unknown, can you give me a range (Q2 2007, etc) Thank you much. Gabriel ...Show All
SQL Server SSIS Package Configuration Filter
We have more than 100 packages which referenced many of the same data sources. In ideal situation, we would like to create three master filters based on the dev, test, and prod servers and all packages can just reference the same filters. However since one package normally only use a subset of master connections defined in the configuration files, if only those subset of connections are set up in the package, when the package is first open in BIDS, lots of errors will pop up saying that it could not find the connections defined in the configuration files. Even though this will not cost runtime error, it is still very annoying. Does anyone have better ideas on how to handle this Jane2006 wrote: T ...Show All
