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

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

Zeky

Member List

ProactiveLogic
Aravinth Kulasekaran
JLG
mfitz
Vurg
Geoff Garside
DanLeg
jimmy_b
Stephen Yuan
zafarmirza
Martijn Iseger
Yabby
Devteam
Srikanth Pai
Dave Erwin
Yenen
ptthanh
xinpis
Rim van Wersch
Brian.Webb
Only Title

Zeky's Q&A profile

  • Windows Forms Selecting a ComboBox Item...

    I'm having issues selecting an item once an array of items has been added to a combobox. My code is below. Anyone see any problems  I've tried everything that I could think it would be, but I'm stuck. Do I need to bind the items once I've added them to select one     Public Shared Sub BindToComboBox( _           ...Show All

  • Windows Forms Auto Deployment Books?

    Does anyone know of a good book or any kind of definitive resource when it comes to auto deploying winforms apps   I understand a decent amount, but I want to dig deeper into this and learn everything I need to.  One thing that I have had problems with is when I give an application full trust on a client, it still errors out wh ...Show All

  • Software Development for Windows Vista Workflow won’t start...

    again, hi everybody: my problem: my workflow wont start. what i did, is the following: calling the workflow from a class: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); workflowRuntime.StartRuntime(); updateStatus("WorkflowRuntime started..."); workflowRuntime.WorkflowCompleted += OnWorkflowCompleted; Type type = typeof(AdminToolWF.CustomerFlow_A); --> workflowRuntime.StartWorkflow(type); updateStatus("Workflow " + type.ToString() + " started..."); waitHandle.WaitOne(); workflowRuntime.StopRuntime(); updateStatus("WorkflowRuntime stopped..."); at --> t ...Show All

  • Visual Studio Tools for Office Problem deleting excel sheets

    I have noticed a behavior that I hope is not intentional.   If a user of my Excel VSTO project deletes one of the sheets that is referred to by one of the managed sheet classes (ie Class Sheet1), the next time the application is started this class picks a new sheet to bind itself to.   I hope I am explaining this clearly.     Here are the steps to reproduce.   Create a new Excel VSTO project. Run the Excel app. *Delete one of the ‘managed sheets’ (I will use Sheet1) from the workbook. *Add a new sheet to the workbook. Save and close the Excel app. Restart the Excel app – Setting a bre ...Show All

  • Visual C++ Linking-Error with VSC++ 8.0

    hey ho, I just updated my project from VSC++ 7.1 to VSC++ 8.0 Express Edition. Unfortunately, i get a linker error every time i compile my project: 1>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( $ 6U $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) already defined in main.obj 1>Release/test.exe : fatal error LNK1169: one or more multiply defined symbols ...Show All

  • Visual Basic Fundamentals - Use of Classes

    Hi, I have used VB, and then VB.NET as my language of choice for a few years now, developing small-scale applications for various uses. I have a reasonably strong background in databases and data access, so I found the dataset and all it's friends easy enough to start using. My tendency to think in terms of databases however, is why I think I am having so much trouble with designing on my own classes. Now I understand the theory and application of classes (I think), and I am ok to construct the actual code. The problem I am having is how to decide what classes to define, and how this then relates to my data source, or if I ev ...Show All

  • Visual Basic Why is the ToolTip's StopTimer method protected, and how to use it?

    Hi, How can I use the ToolTip.StopTimer method if it is protected The command ToolTip1.StopTimer gives me this design time error: 'System.Windows.Forms.ToolTip.Protected Sub StopTimer()' is not accessible in this context because it is 'Protected'. What do I miss here Thanks Meini You can access it if you make your own ToolTip derived class that inherits from the ToolTip class. Consult the Source for the Inherits statement... ...Show All

  • Windows Forms how to implement this custom user control---listview and progressbar ?

    hi all my program takes a text file as input, re-format it and then generates a new text output file. these text file can be quite large and it takes up to several seconds and so i'd like to add a progressbar to indicate the process. i now want to make my program taking SEVERAL input files and treat them at the same time, with a progressbar for each process. just like the some download manager like emule, with a list of downloading files and a progress bar .how do i make this possible first idea that pops into my mind is listview. but seems like listview's item can only be text. i want a progress bar. so i guess i need to extend Li ...Show All

  • .NET Development How can I solve the problem of strong name validation?

    I am getting this error message how can I solve it An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module. Additional information: Could not load file or assembly 'MyAppV1.1, Version=1.0.0.1, Culture=neutral, PublicKeyToken=19a1fac13ef988b0' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) your help is appreciated. It is hard to say without knowing more... the most likely two options are that the assembly has been modified in some way, resulting in the built in hash no longer agreeing with the file... or that you partia ...Show All

  • Windows Forms MaskedTextBox question

    I've never used this forum before, so here goes. I needed to force the user to only input numeric values, so I decided to use the maskedtextbox control. This control is supposed to inherit the modified property from the textbox control (or textboxbase control), however, it is not doing anything. The control is bound to a dataset value, so upon the initial load, there is a value in there, and I expect the modified property to be false. However, when I change the text, the modified property should automatically change to true (like it does using the regular textbox). In essence, the maskedtextbox modified property is not working like the same ...Show All

  • Windows Forms Can I edit a form and its code in the same tab?

    Is there an option in Visual Studio to show both a form and its code in the same tab with "subtabs", as in Eclipse or #develop Personally I think having separate tabs for the form and the code clutters up the tab strip and makes it harder to find the tab I'm looking for when lots of tabs are open. (Reference screenshot: http://www.icsharpcode.net/OpenSource/SD/Default.aspx - notice the Source and Design tabs at the bottom of the MainForm.cs tab) There isn't an option that enables this. However, the default shortcut for switching between the two, you can press F7. You can change this by doing the following: Choose Tools ...Show All

  • Windows Forms Using Windows Control in IE

    Hi I use Visual Studio.Net 2003 to design a windows control, ctlBookList on Windows Server 2003. In this control, I use a DataGrid, dgBookList. In the control's construtor, I use SqlDataAdapter to read data from a database, LibraryDemo:   public ctlBookList()   {    // This call is required by the Windows.Forms Form Designer.    InitializeComponent();     & ...Show All

  • Visual Studio Team System Changes in behavior of the DomainProjectPicker control in the TFS RC

    The behavior of the DomainProjectPicker control seems to have changed in the RC, and I want to understand the best way to handle it. I have been using this control in a standalone application that uses the TFS OM for months now to allow clients to choose a server and project, etc. The problem is, in the RC - due to what I assume are changes related to what you are discussing in this thread - the user is no longer prompted with the same credentials dialog (the one that allowed you to save your password.) Instead, they receive an error message when the DomainProjectPicker control's ShowDialog() method is called. I have read that the credential ...Show All

  • Visual J# converting vj++ com.ms.com.Variant class to vj# equivalent

    we have a sample code in out vj++ project which we are trying to convert to vj# as bleow, IHTMLElement ie=(IHTMLElement)actionElement.getPeer(); mshtml.IHTMLElement3 iet=(mshtml.IHTMLElement3)ie; boolean b1=iet.FireEvent("onchange",new Variant("onchange")); // the above  line gives compiler error DClickActionPerformer.java(115): Actual parameter for 'byref System.Object' must be assignable not sure how we can convert to vj# like what will be the quivalent without having to change the code in lots of places , please advise we need some kind of workaorund as we have to change it in our lot of legacy code to accomadate this This er ...Show All

  • Visual Basic Read a .txt file and write to spreadsheet or database - Newbie Needs Help

    Good Morning, I am a newbie to Visual Studio 2003 and have a questioin about a potential project. I load data into an application on a weekly basis and the load process yields an exception report that must be worked. This report is in .txt format. The current format is rather tedious to work with as it duplicates entries on the same problematic record. Additionally, this file is overwritten each time the load process is run. What I need: I would like to create an application/script using VB that reads this text file and loads it into a word document or spreadsheet. Each time I run the load process, the application/script would be c ...Show All

©2008 Software Development Network