Software Development Network Logo
  • Visual C#
  • Visual FoxPro
  • .NET Development
  • Visual Basic
  • Microsoft ISV
  • Visual C++
  • Game Technologies
  • SQL Server
  • IE Development
  • SharePoint Products
  • Visual Studio
  • Smart Devicet
  • Audio and Video
  • VS Team System
  • Windows Forms

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

kageg

Member List

Alisa Beth
James Johnston
Shuman Kibria
biffpixel
dotHuman
pmanisekaran
Miguel Jim&#233&#59;nez
maulikk
Garrett Serack - MSFT
JLutz
jcoburn
swlee
SubZero.
vtortola
Santosh Ransubhe
Cpt Rick
srinivas_kv80
dev_bih
Attila Fogel
ahmed921983
Only Title

kageg's Q&A profile

  • Visual C# COM Interop - Best practices?

    Hi everyone :) I am currently developing some small tool which is being called by a Javascript script. So basically I am creating an ActiveX control. This already works but I am missing some sort of best practices approach. Currently I made my main class ComVisible so that all public methods will be exposed to the COM interface. Now I was wondering if there was a possibility to define a interface in the following way: public interface MyInterface { string getSomeString(); string getSomeOtherString(); } public class MyClass:MyInterface { public string getSomeString() { ...} public string getSomeOtherString() { ...} public string getThirdString() { ....} } Currently I set the COMVisible Attribute true for MyClass. Is ther ...Show All

  • Visual Studio Express Editions Creating Icons

    I have been trying to create an icon and saving it with paint as "icon.ico" but it isnt accepting it other icons will be accepted does anyone know why this is happening Polarbear541   There is a great VB6 Utilitiy on VBAccelrator. I use it with VS2005 all the time. It's called AlphaIconCreator http://www.vbaccelerator.com/home/VB/Utilities/Alpha_Icon_Creator/VB6_Alpha_Icon_Creator.asp Your other option is to get a photoshop ICO plugin. It's easy to find on the web. The developer is an Aussie. http://www.telegraphics.com.au/sw/ He'd appreciate a $5.00 donation..... ...Show All

  • SQL Server pls help - multi-parm behavior

    My report has a parameter defined as multi-select parm. It works when running for a few selections (lets say 4-6), but when selecting ALL (Select ALL) - there are maybe 10 selections - the report gets an error CLI0109E String data right truncation. SQLSTATE=22001. Interestingly - I can run for all selections if I change the parameter from being multi-select to just a regular parameter with a value of % which represents the wildcard value to get ALL possibilities. If I don't get the error when running for all selections when the parm is NOT multi-select ... then it doesnt make sense why I get a query error when I change the parm to a multi-select parameter and choose SELECT ALL. These 2 scenarios should obtain the same result ...Show All

  • Visual Studio 2008 (Pre-release) How do I Bind Hierarchical data to both TreeView and listView

    Hi all, I recently discovered WPF and all the power it brings to designing rich UIs. All this gave me several ideas on how to improve an application. But first I have to make a port of the basic UI. I'd like to take advantage of the databinding. My needs are a little complex though, and even after reading several posts i'm still a bit lost. Here's the context: I have a hierarchy of objects (4 different types Module , Chapter , Item1 and Item2 ), ex: Module_1 |-- Chapter_1 | |-- Item1_1 | |-- Item2_1 | |-- Chapter_2 | |-- Item1_2 | |-- Item2_2 |-- Item1_3 |-- Item2_3 and need to display this data both in a TreeView (same structure as the hierarchical data) but also as flat list in a ListView, ex: Module_1 Chapter_1 Item1_1 Item2_1 ...Show All

  • Software Development for Windows Vista Workflow Designer Rehosting and XAML Workflow

    Hi all, I am new to Windows Workflow. The XAML only workflow consists of custom activity which is defined in the 'test' namespace. The Namespace mapping construct maps Xml Namespace to the clr-namespace. I load this workflow in the workflow runtime. i.e. XAML Activation. This works fine. My problem is: I am trying to load the same XAML workflow in the workflow designer re-hosted using the WorkflowDesignerControl. The xoml is deserialised correctly and the root element 'MyRoot' is identified and added to the designer host. It cannot identify the child activities i.e. WriteLineActivity since it resides in a custom namespace and so the number of children for root element is 0. So only the root element is rendered on the designer and ...Show All

  • Windows Live Developer Forums How to calculate the zoomlevel?

    In the virtual earh map, what is the ratio of magnifying times I mean: If my map size is 400*400, and the zoomlevel is 4, the coordinate, zoomlevel and mapsize determine a specific map, now I increase map size to 800*800, I need the exact map( that is : latitude and longitude of left -top point and right- down point should be the same, now how should I calculate the zoomlevel I appreciate your help. kinda simlar to your other post Jake That mean i get to use the same answer read this really good article, it answers all your questions: http://www.viavirtualearth.com/vve/Articles/WorldWind.ashx John. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. space war input problem

    space war don't respond on my keyboard actions Space war works with the gamepad only. Since XNA framework However you should be able to add in keyboard control since you have all the source. Start in gamepadhelper.cs - there is a #define which enables some keyboard, though I'm not sure exactly how well it works. ...Show All

  • Visual Basic Cancelling PrintPreview

    Hi all! When using the PrintPreview with VB .net 2003, it starts with a small window displaying: Generating Previews Page 1 of document With a Cancel button at the bottom. Clicking the Cancel button now will stop the application from responding. What event is triggered for me to stop processing On a side note - can I change the text "Page 1 of document" to "Page 1 of ReportName" Thanks. Check out the PrintPreviewDialog Click events: Private Sub PrintPreviewDialog1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles PrintPreviewDialog1.Click If Me .PrintPreviewDialog1.DialogResult = Windows.Forms.Dial ...Show All

  • Windows Forms Collapsible property for custom control

    How can I make property for my custom control collapsible at design time Similar to Size, Location, Padding and other properties. I want to create Dimension property for my control which has collapsible x and y element. Thanks Use a property of type Point or Size. For example: public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } private Point mDim = new Point(0, 0); [Browsable(true)] public Point Dimension { get { return mDim; } set { mDim = value; } } } ...Show All

  • Windows Forms Extending DataGridViewTextBoxColumn to DataGridViewHtmlColumn

    I'm tring to create a better way to present data in data columns. I've decided to extend the d.g.v.TextBoxColumn, although perhaps I should be using a higher level base class. The fist thing I've decided to support are newlines or [br] ( breaks ). this done, Im not sure the best way to calculate row height, or how to effectively set it. I've tried inside the overridden Paint method to set [ this.DataGridView.Rows[ index ].Height ], but it doesnt seem to be affecting anything perhaps I have to change a related flag so the problem, is that I now have a multiline text column that is cutting off the text because the row height is not appropriatly set. any help is greatly appreciated! -stellar ...Show All

  • Visual FoxPro application and webdata interacting.

    ok first off here is some info about my webserver: i dont no if you needed the information but maybe you do General server information: Operating system Linux Kernel version 2.6.17.11-grsechg Machine Type i686 Apache version 1.3.37 (Unix) PERL version 5.8.7 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail PHP version 4.4.4 MySQL version 4.1.21-standard cPanel Build 10.9.0-CURRENT 117 Theme cPanel X v2.6 ...Show All

  • Visual Studio Express Editions Help,Start Button Thing

    Well,i recently "edited" explorer.exe and changed my start menu text,and (im 14) everyone at school wanted one...so...i need help,i already have a code,but it wont work,Just in Case,the program is supposed to display an input box with a max of 5 chars,and  when you ok the input box,it will change the text of the start(instead of start,something else) i do have a code,but it simply will not work,it does not limit input box to 5 chars and it does not change text,heres the code, Please if you have a better code,simpler or otherplease put it...anyways,here's the code ' Public Class Form1 Dim jeff As String Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( ByVal hwnd As Lo ...Show All

  • SQL Server dts access to sql server express

    How can I take an access database and import it into sql server express the access db is on a different server then the sql server express. You could copy the Access file to the SQL Server computer before you start (which is what I'd recommend), or share the folder on the computer where the Access file is located and use a UNC path to reference the Access file ( \\accesscomputer\sharename\accessfile.mdb ). ...Show All

  • SQL Server Generating and Printing Reports

    I've created a data flow where I have linked to an OLE DB Source then created a Flat File Destination. My file is now on my c: drive. I'd like to use that data to create a report, then print to a PDF. How would I do that Currently I was doing this in Access, but I am moving my processes to SSIS. My application is going to pull data from many tables, then export to a flat file. Our network person will pick up the files, and put the data on a website. Then from 2 of those tables, I pulled a list of instructors that currently is on our website in PDF reports. In Access, I have pulled the data, created a report and exported to a PDF. Our network person pulls those reports and puts them on the website. It's ...Show All

  • Visual Studio How to tweak the OutputPath on a Visual Studio .NEt 2005 solution

    Hello. I know that this kind of question has already lead to much writing on this forum. I've been digging, with no luck. I explain my need. Context and requirements I am compiling a MS Visual Studio .NET 2005 solution on the command line via a 'msbuild.exe' call. This solution contains several C# projects, with a dependancy graph. By default, each project output path is set via the MSBuild ' OutputPath ' property, defined with the value ' bin\$(ConfigurationName) ', which imposes the output artifacts to be created related to the Visual Studio C# project location on the hard disk, in the directory ' bin\Release ' related to the directory containing as a child the project, in release mode. What I need, is to set this ' OutputPath ' direct ...Show All

©2008 Software Development Network