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

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

zarembisty

Member List

zookeeper
Karl Hilsmann MSFT
Craig Richardson
TalEran
smartwebagent
krobinson152759
Michael Klucher - MSFT
Dave Cowell
fishinsea
John_L
Tayo
Global
thecoder141859
Dave Citron
DanMoran
Luke_Adams
fred369
Test55
Bartleby1
Sunil_D
Only Title

zarembisty's Q&A profile

  • Visual Studio Full MSDN local install for VS 2005 incomplete

    I have recently installed Visual Studio 2005 and am having trouble with the local Help functionality. Local help is missing a host of very basic keywords and functions such as fprintf, #include, #define etc. (although other things are available, such as the STRCONV() function). I can click on a keyword, press F1 and be directed to online help, which always has the information I need. But if I search for the same item in the Index pane of local Help, I get a No Topics for Index Entry error and am told to click on one of the child elements. This occurs even when there are no child elements to click on. And I am not directed to online hel ...Show All

  • Visual C# How to prevent a form from being activated/gaining focus.

    I'm working on a project where I want to be able to click on a form but not have the form keep focus. Although not what I'm working on at the moment but the Windows On Screen Keyboard is a good example. The OSK when clicked on doesn't take focus, but keeps the focus on the control that had the focus before. It does this but still is able to proccess an onclick event and send the keystroke over to the control that has focus. I'm needing to do something similar. I've tried overriding the onActivate method but it seems by then the form has already taken focus. Any help is appreciated. You might be able to do s ...Show All

  • Visual C# Using timers & their accuracy

    Hello, I have implemented a countdown clock using the timer class is c# but am having problems with the accuracy of the countdown. I started off with the Forms.Timers and also tried the System.Timers versions. Neither kept up with the standard system clock after only a short while of running (less than 5 minutes). I am using an interval of 100ms. When the tick event occurs it triggers various updating to controls (labels) and a separate form using 2D drawings. Basically my question is what might be causing my countdown to slip behind in time from real time And also what should I investigate to implement an accurate countdown clock if not usi ...Show All

  • Visual Basic .hta

    I am trying to export my project group as an .hta How do I do this ...Show All

  • Visual Basic OpenTextFileWriter

    Hello.  The OpenTextFileWriter method is supposed to default to "ASCII" encoding, but it looks like it defaults to UTF-8, which results in unexpected characters at the beginning of a file.  Please see the example below.  Am I doing something wrong   To fix this, I had to explictly set the encoding to ASCII, which is was supposed to do. Dim file As System.IO.StreamWriter ' to create a .TXT file Try ' NOTE: seems to be a bug in VB.NET 2005 Framework 2.0 - ASCII does not seem to be the default encoder thus resulting in extraneous characters at beginning of the file.  The default seems to be UTF-8 file = ...Show All

  • Visual FoxPro MSComctlLib.TreeCtrl.2 Problem

    Working with the treeView Control I ran into an unexpected problem. It appears to be impossible to collapse a node branch programmatically. Collapse is an event, not a method and when I tried to use it as a method I could not get anywhere. I also tried to employ DblClick with the same negative result--the tree does not budge. Aside from Collapse I will need Expand as a method not event, although I am using it as even already. The expansion perhaps can be best accomplished by THIS . Nodes . Item . EnsureVisible Questions: (1) Is it true that this control has no such capability (collapsing nodes programmatically) or I am doing ...Show All

  • Visual Studio 2008 (Pre-release) Joining Tables and List

    I tried the following out of curiosity to see if it would be possible to filter a table sql style against a list of values.    Rather then where c.City == "London" || c.City == "Paris" I wanted: var cities = new[]{ "London", "Paris" }; var q =   from c in db.Customers, cy in cities   where c.City == cy   select c; The error I get is System.InvalidCastException: Object must implement IConvertible. Probably trying to convert it to an sql statement.  If I change db.Customers to db.Customers.ToList() it works, but unfortunatly this pulls the entire customer table into memory. The join s ...Show All

  • Software Development for Windows Vista As consumers of applications

    What is the best way to drag application vendors and developers into this forum so they can learn to code more securely What websites, sdk, documents and books [besides Writing Secure Code Second Edition] should be recommended to such vendors If hitting them over the head with Writing Secure Code doesn't work, remember that there's a Russian edition... in hardback. Seriously, I'm starting to think that certain vendors (and you and I both think of the same one) aren't going to get this message until a big news item hits with the title "Accountant says SlowBooks data was exposed because Inhibit would ...Show All

  • Visual Studio Express Editions Distribution of your program

    How can i distrubute my programs so that my friends can run them First of all you need to sign the Go-Live license for VS 2005: http://lab.msdn.microsoft.com/vs2005/golive/ Then your friends need to download the .NET 2.0 Beta 2. ...Show All

  • Smart Device Development Code generation for property '<property name>' failed. Custom Control

     I have a custom panel control that has a BackgroundImage property defined as per the code sample: private Image backgroundImage=null; [System.ComponentModel.DefaultValue(null)] public Image BackgroundImage {   get {return backgroundImage;}   set {     if (backgroundImage!=value) {       backgroundImage=value;       Invalidate();     }   } } All is good provided I assign an image to the control at designtime, but if I don't VS.NET barfs with the message: Code generation for property BackgroundImage failed. Error was: "object r ...Show All

  • Visual Studio TLDA and Inputs/Outputs

    How come the following target seems to do TLDA without me specifying Inputs and Outputs for the Target <Target Name="GenResources">   <GenerateResource Sources="@(Resource)"                      OutputResources="@(Resource->'%(filename).resources')"/> </Target>   Doh!  I see.  The GenerateResource target is spitting out a message saying that it is skipping resource generation.  I mistook that for the normal "Skipping target ..." message.  Serves m ...Show All

  • SQL Server Adding new Guid to destination

    Source table has two fields, int and string. Destination has three fields, int, string and Uniqueidentifier (Guid). For each source row added to the destination, I need to add a new Guid. I know how to make a new Guid in VB.NET script, but how do I inject it into the transformation for each row. I see the “foreach loop container” component and I suspect I need to use it, but I am stumped. Any help would be most appreciated Paul Sullivan Vita wrote: Hi, I have the same task as you have. Did you make the script component for adding Guid to each source row Could you please help me to ...Show All

  • Windows Forms where to open my connection object?

    i am developing a c# windows form app that connects to an oracle backend. i will have a data class object that talks to the db to get data. my questions are: - should i open the connection in the main form and pass it into the object or just open the connection object inside of the data class object - how do i ensure that the  ...Show All

  • Visual C# Login

    hi all, I am designing a login "component" for my application. Do you know of any good examples of login implementation on the web that I can get ideas from It must NOT be windows authenticated login. I have my own dB table etc. Thanks Hi If you have your own database table that stores your user's credentials then you could use SQL and ADO.NET to authenticate your users. The following assumes that you have a table called "Users" with at least the fields "UserID, UserName, UserPassword": private void btnLogin_Click(object sender, EventArgs e) { if (txtUserName.TextLength > 0 && ...Show All

  • Visual Studio Tools for Office Retrieving a VSTO 2005 Document from WebDav

    When attempting to open a wordml document containing a reference to an assembly by clicking on a Webdav url (a url which will retrieve the xml from a content store), no attempt is made by word to load the assembly. The content of the wordml is loaded fine, it's just that the assembly (which is suppose to load a custom action pane) does not load. We determined that no attempt is made at loading the assembly what so ever by using the fuslogvw.exe util. How can we get word to attempt to load the assembly when we click on a webdav URL. Mike, first, thanks for looking into this. These are certainly good questions and suggestions, and s ...Show All

©2008 Software Development Network