Software Development Network Logo
  • Windows Forms
  • SQL Server
  • VS Express Editions
  • Microsoft ISV
  • Visual Basic
  • Visual J#
  • .NET Development
  • Architecture
  • Visual FoxPro
  • Visual Studio
  • Visual C++
  • VS Team System
  • Game Technologies
  • Visual C#
  • Windows Vista

Software Development Network >> Christen's Q&A profile

Christen

Member List

Ludic
jmlsteele
Patrick Altman
khalil_yassine
MING LV
ourti
c#_novice
khalod_is
fredz28
Regulus
benze
MrPeaceMaker
ponu
oxAndy
downhillskier
# 2 Dessi
jojolimited
Espens
Sun Haiwei
SMOwais
Only Title

Christen's Q&A profile

  • Smart Device Development Build/Deploy issue - individual files being pushed

    I only recently installed the official release of VS2005. After doing so i opened a project i was working on with the Beta version, cleaned it, then built it. When i did this, i notice that in the bin directory, all dependent files are copied. This also occurs if i attempt to deploy to my device. Why would it need to deploy these files if the are already part of .net 2.0 some of the files are: Microsoft.WindowsMobile.dll, Microsoft.WindowsMobile.Forms.dll Microsoft.WindowsMobile.Forms.xml Microsoft.WindowsMobile.PocketOutlook.dll mscorlib.dll etc..... I've seen that if attempt is made to deploy to device which is not match ...Show All

  • .NET Development Help!!! Command line interaction

    I'm working in a project/Form where i use a "Graphic Line Interface" exe, called "7z.exe"  (used to compress/decompress data files). This Form is used to show path, file type, compression level and so on... When i try to decompress a file with password, i need to pass this password to the console, but before this action, i have to verify if the program is asking this password. Its where i have the problem, because when the "7z.exe" process is being executed, i can't acced to the window to extract the last line where is writen "Enter Password:". This problem appears to be just in this program, because when i tried to simulate in a small ...Show All

  • SQL Server June CTP to RTM

    I have a package that I wrote, initially, with a June CTP version of SSIS. I recently created a blank RTM SSIS project and brought in the dtsx file that was developed using the June CTP version. The package runs without errors. However I get wrong - and inconsistent - results from the data that I load into my SQL Server tables. If I run the package using the June CTP version, everything is correct. It would take me a lot of time to recreate the package in RTM. Since the entire package definition is contained in an XML file, it seems that there should be some simple setting(S) that would get my package working in RTM. Any help would ...Show All

  • Visual Basic Add connection wizard fails with Access database

    I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK   --------------------------- And more, the Advanced button is dis ...Show All

  • Windows Forms find out in MDI-Form which Control has the focus

    hi, i have a MDI-Form. I want to find out, which control (Textbox, Textfield) currently  has got the focus. these controls may be in a TabControl. bye Hi, You can do that by looking in the ActiveControl property of the form. It contains the control that has the focus. Check if the type is one of the container controls (panel, groupbox or tab) if it is then also look at its active control property or traverse all of its contained controls to see if what control has focus... cheers, Paul June A. Domag ...Show All

  • Visual Studio Tools for Office How to start and stop Excel from WinForm app?

    I have a WinForm app. I use Excel to print a report. Different from within a VSTO project, I do not have access to an Excel process. I have to start Excel explicitly. Now I am using the following code to start and stop Excel. public class ExcelInterface { private static Microsoft.Office.Interop.Excel.ApplicationClass excelApp = null; public void StartExcel() { if( this.excelApp == null ) { this.excelApp = new Microsoft.Office.Interop.Excel.ApplicationClass(); } } public void StopExcel() { if( this.excelApp != null ) { Process[] pProcess; pProcess = System.Diagnostics.Process.GetProcessesByNa ...Show All

  • Visual Studio 2 Patterns for single Crystal Report (rpt) file

    Hi everybody, Is it possible to display two different pattern of reports and must be on separate pages First Page displays a summary, second page displays details and other info. Having problem doing this placing except for company details on page header and the rest on the Details part of the report. Pattern: First Page: Company Logo Company Name Company Address Statement of Account Statement Date: (system date) Period Covered: (date from filter page) Control Number (data from db1) Company: (company name from db2) Address: (address from db2) Total Balance ( ...Show All

  • SQL Server Trendlines in RS2005

    Hi! Struggling with this one! Is it possible to do trendlines within Reporting Services 2005 We're currently using 2000, but to strengthen the business case to move to 2005 would be the inclusion of trendline analysis. Is this possible, and if not are there any alternatives Thanks in advance, Tony Trendlines are not natively supported in RS 2005 charts. However, RS 2005 has a new feature called CustomReportItem for extensibility. This feature enabled chart vendors such as Dundas and ChartFX to provide advanced charting controls that plug directly into report designer and report server. You can ...Show All

  • Visual FoxPro cannot open up a form-- BIG TROUBLE

    I have been working on this form for about two months adding new objects and manipulating databases. The last save I did was about 4 days ago. I have a few grids in it on different pages of pageframe and everything worked fine. I never added any columns to any grid at design time. At runtime VFP determines the column layout after a grid is given an alias as a record source. Today, just a few minutes ago I decided to add three columns to a grid which has always been empty at design time. After I did a save, I got an error message at runtime: Error loading file - record number 34: o_Grid2 <or one of its members>. Header Class: ...Show All

  • Visual C# Treeview Mimicking Windows Explorer

    I am implementing a TreeView control to closely mimic Windows Explorer behaviour. The user can edit labels and these must be uniquely named. If the user edits the name of the label to a non-unique name an error message is displayed and the label remains in edit mode until the user enters a valid name. I am using the following pattern within OnAfterLabelEdit: protected override void OnAfterLabelEdit(NodeLabelEditEventArgs e) { //Label is valid unless the user has changed it. if(e.Label==null) { return; } //Peform validation. bool IsValid=ValidateLabel(e); if(!IsValid) { //Reset label. e.CancelEdit = true; System.Wi ...Show All

  • Visual Basic VB vs C#. How capable is VB compared to C#?

    I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. Here's my background ( being totally honest ). I am self taught, I learned C++ back in the late 90's. From there, I moved to C# because ASP.NET is the best platform availabl ...Show All

  • Visual Basic Inherited Forms

    I have a base form with some buttons and a splitter control. On the splitter I have put a panel on each section of the splitter. I have several forms that inherit from this base form. On those forms I have placed controls on one of the panels in the splitter. My problem is that if I make any changes to the base form (even if they are code only), some (not all) of my inherited forms will be screwed up. The controls on these iherited forms that have been placed onto the panel will no longer show on the panel. The controls are there but the code to add them as childeren to the panel is gone. Any help would be appreciated. ...Show All

  • Smart Device Development Why Don't SmartPhone Apps Provide Exit?

    Why don't SmartPhone applications provide an exit function Would I be doing something wrong if I develop an application with an exit function Thanks, BS"D Thank you very much for your reply. As far as startup lag, I find that my Audiovox SMT5600 starts applications up very quickly. In fact, starting an application with a minimum of applications running, executes more quickly than a resume of an application at a time when many applications are running concurrently. Therefore, I think that I will provide an Exit function on my application menu. In fact, I think that I will provide two options: Suspend - which will pre ...Show All

  • Visual C# Marshal.PtrToStructure

    When responding to the WM_NCLBUTTONDOWN message in WndProc, the LParam of the message points to a POINTS struct. I use this structure to get at the LParam struct MyPoint { short x; short y; }; And I use this line to marshall the lparam: MyPoint point = ( MyPoint ) Marshal .PtrToStructure(m.LParam, typeof ( MyPoint )); point now contains x and y both equal to zero (0,0) The mouse was clicked in the middle of the caption area, while the window itself was in the middle of the screen. What gives If it is only for debug reasons, then you should just use the managed method and set t ...Show All

  • Visual Basic how to change path for saving excel

    hi I'm using excel object and when I close the excel object, it generates the save dialog. But the path is set to MyDocuments. I want to change this path. Is there a way Thanks. I just want to change the main directory the save file dialog shows. I don't want to save the file as the same name always. I think the only way I can think of is to change the directory option in the excel itself. ...Show All

©2008 Software Development Network