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

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

fromChristo

Member List

Seth Hall
eman67
Brandon Eckert
Jeff Berger
CuSOUN
Douglas R
twostars
Daniel Svensson
CodeMeister
GrissomA
MS Ellen
Joe Bourne
anderson.fvgn
Tammy*
Riaan
dklayman
Goldenarowana
HOTBOT
Thumper III
GabrielMartin
Only Title

fromChristo's Q&A profile

  • Visual C# height and width

    my web user control is composed by a panel (h=100%,w=100%) which contains a table (h=80%,w=100%) with a datagrid and a button and a panel (h=fixed px,w=100%)with another table. This second panel is first invisible and then visible when button is clicked. I try to put it in my web form where there is a table. My problem is that if the table in web form is short, the user control not resize and i can't see the second panel.   Thx If I understand your situation correctly, you should explicitly set the height of the cell that contains the user control to the minimum allowable height for the user control to be fully se ...Show All

  • Visual Studio Team System My Tasks are getting deleted when checking in code

    When I check in work, I associate them with a Task, say Task ID 200. If my checkin resolves this task, I can no longer see this task in the system at all. No queries or anything will show me this task... How do I fix this I highly doubt they are being deleted. When you associate the changeset with a work item, the Agile template by default changes the work item from an "Active" state to a "Closed" state. Since there isn't a query in the Agile process template that shows you work items in the closed state, just create your own query. Right click on the "All Work Items" query and click on "Vie ...Show All

  • Windows Forms Print Listview

    Hi! How can I print a listview (listbox) in VB thx juvi ...Show All

  • Windows Forms How do I save a null value to an int column in a SQL database?

    I have a combobox and when the user didn't choose anything from it or left it blank, I want to save the ComboBox.SelectedValue into an int column. If it's not null then I can just convert it to (int)ComboBox.SelectedValue but if the text property is blank I can't convert it to int. How do I resolve this Thanks in advance. ...Show All

  • Visual C# Getting the OS version

    Hi, Can someone help me with this problem. I need to get the OS version such as say Windows XP or Windows 2000 Professional and so on. But when I tried it using the code: Environment.OSVersion.ToString(); On a Windows XP OS I am getting the output as Microsoft Windows NT 5.1.2600.0. Can anybody provide me with a solution in C# so that I can get the exact version of the OS as say Windows XP or Windows 2000. I do not want to get this result using WMI. Thanks & REgards, Frenz hi, you can use Environment.osVersion http://www.programmersheaven.com/2/les_csharp_15_p1 hope this helps ...Show All

  • Smart Device Development Resource Manager not working in Compact Framework v2.0 and Pocket PC 2003 SE Emulator

    Hello all, The ResourceManager class will not find a resource under the Compact Framework v2.0.  However, this used to work under CFv1.0.  Let me elaborate on my problem.  I have my main program in main.dll and a resource with name 'Messages.en.resources' in main.resources.dll.  Here is the code in the main.dll: ResourceSet _msgs; ResourceManager rm = new ResourceManager( "Messages", Assembly.GetExecutingAssembly() ); try {    _msgs = rm.GetResourceSet( CultureInfo.CurrentUICulture, true, true ); } catch( MissingManifestResourceException ) {    _msgs = null; } if ( _msgs == null ) { &n ...Show All

  • Visual Basic Creating Tables with sql express

    I know this deals with ms sql express more so than vb.net but it correlates b/c I want to edit the database with vb.net express. On to my question... I'm trying to learn how to use ms sql express using the SQL Express Manager. However, I can't seem to figure out how to create tables. I'm reading http://msdn.microsoft.com/SQL/2005/getstarted/default.aspx pull=/msdnmag/issues/04/09/expresseditions/toc.asp  but it seems outdated and I can't replicate what he's doing in the tutorial. I'm not a total novice when it comes to programming, but SQL Express Manager isn't as intuitive as one might think, there's no "Create Table" context menu. Can ...Show All

  • Windows Forms Set Size of user control

    Dear all, i create a custom control, and i have set a property of width and height, so it can adjust these in the property. however it have a default width and height on it, how can i disable these or override it use MyBase.Width and mybase.height and set these after the initializeComponent call in the sub new ...Show All

  • Visual Studio Tools for Office Undo in Excel

    Hi all, I'm doing my first VSTO project for Excel. I need my users to be able to click the "Undo" button even after my code has been touched. In a previous post, Aburstein suggested looking at "application.onundo". This may indeed give me what I need. The problem I'm having is that the arguements to the method require a procedure name that gets executed if the user hits undo. It seems, though, that this procedure must be in a VBA module, not in my VSTO code. My questions are: (an answer to any one of them may help) Can I create a method in my VSTO code that will be called, so that I don't have to create any VB ...Show All

  • Visual Studio Team System FxCop 1.35 RC1 - SuppressMessage for IdentifiersShouldBeSpelledCorrectly

    Is it possible to suppress all violations for a given word using a single module-level SuppressMessage attribute For example, if I use the unrecognized word "Foo" in several places in my code, e.g.: public int AddFoo(Foo f) { ... } public void RemoveFoo(Foo f) { ... } I would like to suppress the IdentifiersShouldBeSpelledCorrectly violations for all instances of "Foo" with a single module-level SuppressMessage attribute. I tried the following but it didn't work: [module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Foo&q ...Show All

  • Visual C# Cannot Update Database!!!

    If I have a DataTable let's say and I change one of it's values. Question is how do I change this value in Actual Database now. Which function to be used For Example: I change a value by saying table.Rows[0][0] = 99; // Where table is a DataTable type How do I make sure that this values goes into Actual Database as well and not just this DataTable Object But that would mean I need to use Update method(which requires relevant Update/Delete commands to be already there). Am I right Similarly, when I want to update some other values - I will have to change Update/Select/Insert commands everytime if the logic ...Show All

  • Windows Forms Opening a website in a browser, in a NEW window

    Hi Rck   Process.Start works pretty much like cmd.exe. For that you have to use Process.Start("IExplore.exe", sLink).   If you want the same behavior as WinKey+R, you'll have to use Process.Start("Explorer.exe", sLink). -- Paulo Morgado MCSD.NET - C# MVP https://mvp.support.microsoft.com/default.aspx/profile=D4A89909-0CCC-4D8B-8E7B-AB0F3DEB1E66   <Rick Hodder@discussions.microsoft.com > wrote in message news:97d52e82-7cd5-4a1b-bbeb-78f4df3d9829@discussions.microsoft.com ... I have a form that has a link label that holds a website address. When the linklabel is ...Show All

  • SQL Server Bug? No WSDL information fo a WEBMETHOD that points to a table-value function

    Hello all, I'm trying to create a web service that merely exposes a table value function. I have a dummy function that looks like this (in a DB called ReportingDB): USE [ReportingDB]; DROP function [dbo].[TestFN]; GO CREATE FUNCTION [dbo].[TestFN] () RETURNS @Table_Var TABLE (c1 int, c2 int) AS BEGIN  RETURN END; GO My web service definition looks like this: DROP ENDPOINT sql; go CREATE ENDPOINT sql STATE = STARTED AS HTTP(    PATH = '/sql',    AUTHENTICATION = (INTEGRATED ),    PORTS = ( CLEAR ),    CLEAR_PORT = 90,    SITE = 'mypc'    ) FOR SOAP (    WEBMETHOD ...Show All

  • Visual C# How to create the object of the class present in the dynamically loaded Assembly(DLL)?

    Hi All, I have DLL (Assembly) say the name is test.dll . This dll has one class say Math, Math contains two functions Add () and Mul (). I am loading test.dll at runtime Assembly *** = Assembly .LoadFrom(xml[0]); I am getting all the types in that DLL using Type [] types = ***.GetTypes(); With this piece of code I am able to execute the function inside the code, foreach ( Type typ in types) { object obj = Activator.CreateInstance(typ); MethodInfo mi = typ.GetMethod(“add”); ...Show All

  • Visual Basic Remote computer

    I am now doing cybercafe for my final project. i type this command at the admin pc at command prompt shutdown /s /m \\mymachine_name Why when i type this command it tell me that is access denied May i know that how can i let the admin pc to access to the client's pc Thank you, SJWhiteley ...Show All

©2008 Software Development Network