Naiem's Q&A profile
Windows Forms ExpandableList Paint Bug
1) Start IssueVision 2) in the middle pane select the top item in the second "Computer" group. 3) Then click on the last item in the above group "Telecommunications." Notice you'll see the list "jump" and draw the Telecommunications group starting at the top, when the top of that section had scrolled off the screen. It is disorienting to the ...Show All
Windows Forms Pretty Programs - Designer Tutorial Needed
Hi, Im in need of some sort of tutorial that will enable me to modify almost everything to do with colour and shape in the MenuStrip and TabControl functions but all i was able to get was some ugly pictures - not very professional :). I wanted it to be a bit like the Steam GUI - http://i26.photobucket.com/albums/c128/tehshadow/steamgui.jpg (an extremly cropped and merged sample of the Steam GUI). How would i go about making the edges of the TabControl rounded And how can i make the MenuStrip like links except with a context menu Thanks in Advance, TheDarkestShadow ...Show All
Visual Basic Could not read state file
My projects keep coming up with this error: Warning 1 Could not read state file "obj\Debug\ResolveAssemblyReference.cache". Exception has been thrown by the target of an invocation. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 0 0 The help file doesn't exist for it. What am I doing wrong, and how do I cure it please It usually happens after a major edit - moving code around the place or renaming something (as you suggest). Renaming the file worked, but it didn't come back when rebuilding which seems odd. So I don't know if it worked or not. One issue ...Show All
Visual Studio Express Editions .Net Framework 2.0 Beta and Starting VB
Hey Everyone, I'm just getting started in Visual Basic, and I'm starting out with the express edition betas, and I'm trying to do an app in it, but whenever I try to install my app on another pc that pc has to download the .net framework 2.0 beta which is a larger file then I'd like them to have to download if they want to use my application. Is there any way to get around this such as packaging the framework with my applicaiton, or use the .net framework 1.1 Also, does anyone have any recommendations for books and material for learning vb on the newer versions greater then version 6 Thanks, Jmitchell JMitchell - One sugggestio ...Show All
.NET Development updating records
I am trying to update a record using one of samples provided and I always have the following error: "Reference to a non-shared member requires an object reference" The code I use is as follows: Dim totalsRow As mdstats1DataSet.TotalsRow totalsRow = mdstats1DataSet.Totals.FindByRecordID(1) totalsRow.smtpin = smtpin totalsRow.smtpout = smtpout The error is on the "mdstats1DataSet.Totals" Can anyone help me BTW, I am using VB Express and SQL Express Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ...Show All
Windows Forms type initializer error in crystalreports deployment
I have simple windows form that uses a webclient to download a Crystal Report and then displays the report in a ReportViewer control. It works fine on my development machine, and an .msi deployment works OK on other machines until the report viewer tries to display the report. At that point I get the following error: "Type initializer for CrystalDecisions.C ...Show All
SQL Server SQL Mobile performance/size problems with WM5 device
I just upgraded our application from SSCE 2.0 to SQL Mobile. Our app is written in C++, and we use OLE DB for most of our queries, including the routine the downloads and inserts our lookup table data. This application is running on a Dell Axim X51. Using SSCE 2.0, this routine takes 236 seconds, with most time spent inserting data into various tables (using OLE DB). The resultant database size is 15.1 MB. Using SQL Mobile, this routine now takes 675 seconds, with a resultant database size of 27.9 MB!! There is a noticable increase in time when the downloaded data is being inserted into the database. What would be the reason(s) for the slowe ...Show All
.NET Development FtpWebRequest and custom commands
How can i send custom command through an FtpWebRequest I tried with this but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; namespace ftpProva { class Program { static void Main( string [] args) { FtpWebRequest ftp = ( FtpWebRequest ) WebRequest .Create ( "ftp: //ftp.microsoft.com" ); ftp.EnableSsl = true ; ftp.Method = "SYST" ; ftp.Proxy = null ; FtpWebResponse response = ftp.GetResponse () as Ftp ...Show All
Windows Forms Invokepaint to paint another controls image on your control
Ok Does anyone know why this doesn't work Public Class UserControl1 Inherits System.Windows.Forms.UserControl Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) Dim CB As New ComboBox() CB.Bounds = Me.Bounds CB.Font = Me.Font Me.InvokePaint(CB, e) &nbs ...Show All
Smart Device Development problem with dock fill
I am using Visual Studio 2005 Professional Edition Version 8.0.50727.42. In a PocketPC2003 project, I am having trouble seting up one of my forms. The first thing I did is create a panel and dock it to the top. Then I created a label and a few check boxes and put them inside the panel. I docked the label to the top of the panel. below the first panel I have a splitter, also with its' dock property set to top. This positions it just below the first panel. Then, below the splitter, I have another panel with its' dock property set to fill. This causes it to fill up the remaing portion of the form. So far everything is working fine. Then inside ...Show All
Visual Studio Team System Is there any way to assign two resources or more for a workitem?
Hi there, Is there any way to assign not only one, but two or more people to a WorkItem. In Project i can assign a work to more than one people, but when i try to add a Workitem, it only permits me assign one person. Thanks, Guino. You cannot assign to multiple entries in the Assigned To drop down. However, if you're thinking of something like having a DEV and TEST owner for each work item, you can definitely add a Dev Owner and Test Owner field to the work item type where each field has a drop down like the Assigned To list. ...Show All
SQL Server Database Sort Order / Collation
I have an O2 Xda IIs Pocket PC running PPC 2003 SE, WWE (Worldwide English) edition. I want to create a database which contains all Chinese characters that have been mapped under the Unicode Standard. I already have a similar database on my desktop PC. On my desktop PC, I have used the collation Chinese_Hong_Kong_Stroke_90_CI_AS. However, on my Pocket PC, I do not see any Chinese or even Unicode sort orders. The best I get is "General". I want to use the Chinese sort order to govern the way the characters are sorted (ie., characters with fewer strokes appear first). How am I able to do this / Is there anything extra that I may ...Show All
SQL Server Deploying Excel Localcube
Hi friends, Whenever I have created a local cube and have created an excel report from the local cube and after I send this report + the local cube to a client. I find that they often save the report + local cube to a different directory. The problem is that the excel actually stores an absolute location that points to the cube. So when I've created the cube on my computer it could be c:\my.cub but when the client has unziped the report it could be in d:\reports\jan\my.cub . as a result Excel often complains of not being able to find the cube. What can I do about this Thanks Tom ...Show All
SQL Server Change product key of SQL Server 2005
Is there any way to change product key after installation of SQL Server 2005 or must be SQL Server reinstalled. We have used wrong one for our customer because carelessness. Any problem if customer use product with old product key, but have a legal licence for product No it was not. Installation was from MSDN, but customer licence was from reseller. But we have reinstalled SQL Server 2005, so that meet licence agreement. But thanks for help. Anton Kalcik ...Show All
.NET Development Possible making USB driver with C#?
Is it possible to make an USB driver with C# I know this guy who is creating a device which records data and he is going to use USB to transfer this data from the machine into the computer... Since this is a custom machine, I dont think it is possible to use a preexisting driver for it and we were thinking if I could make a driver for it. As fahr as I know it is not posible. I think only C, C++ or something low level like assembly language is allowed. go to: www.microsoft.com/whdc/ ...Show All
