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

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

iamAlan

Member List

Luca Beretta
Scott Chang
darynk21
Alessandro Ferreira
Mykhaylo Blishch
delamble
arse
Mateus1223
mabxsi
Douglas R
DQM
Dudets
OmidQRose
Rob Wheeler
Vaish
Hoon1234
FedorSteeman
neof
Taitt
Kamia111
Only Title

iamAlan's Q&A profile

  • Visual Basic If I want to upgrade my program of VB6.0 to the program have net application, is it the VB.net is my only choice?

    Please help to give some advise, My program is developed by using VB6.0, and now I need to upgrade the program that can support the online application or online transaction. So is it the VB.Net / VB 2005 are the only and the best choice Because some of the people are mentioned that the C#'s performance speed and stable will better then the VB, it is true if I am using the VB.Net to develop, what is the strong point of this new version of VB 2005 uses version 2 of the .NET framework and has LOTS of new features. The upgrade price will be cheaper then buying just 2005 alone, contact the vendor of your choice for more details. ...Show All

  • .NET Development Session across different web sites

    Hi, I'm trying to create a shared session across 2 different web sites/application. How can i retrieve the session (details) from the first application, and then replace it with the session of the second application I'm using state server to store my session details. Regards Danny Dear Danny, In order to share Session across 2 different web applications, you have to store session state in an ASP.NET application with out-of-process method, When you use this option, session state is stored in the Aspnet_state.exe process; this process runs as a service and may be located on a separate state server. Using a state server allows applications running in a Web farm to access shared state inform ...Show All

  • Community Chat .NET Web Browser Effort - First Preview!

    Hi Guys, A couple of months ago I started an opensource effort to create a Web Browser better than IE7 in .NET. So far its going GREAT, with a team of 3 including me. As of now, source code is not offered - it will be once I get it to a Beta 2 state. Also, if anyone would like to join the project please send an email to netwebbrowser@gmail.com or add mateuszrajca@msn.com to your MSN/Live Messenger contacts list(email is preferred) Here are some stuff you can help in: Write code(C#), fix bugs in code(C#), make sourcefourge web site, report bugs, optimize code(C#), make app more responsive, make installer, graphics (icons logos) and whatever else you can come up with! Download Now Preview 1! ~Matt ...Show All

  • Visual Studio Express Editions Serial port problem

    Hi All I have an application that monitors a com port for incoming messages. I recieve a message every three seconds which is coming through fine but when I close the port my application keeps on closing. Anyone perhaps know why I am not getting any error messages at all. Thanks in advance Ross This is a fairly common problem with the SerialPort.Close() method. It is prone to deadlock, causing your program to hang. First, make sure you open the port only once, at the start of your program. Check this thread for reference. ...Show All

  • .NET Development Can a DataSet tell if tables in the SQL database have been updated?

    I've got a client-server app that hooks up to a SQL Server 2000 database. So far everything works well but this application is not the only user of the database. We have an Access front-end that also hooks up to these tables. (The .Net application is replacing another application that goes to the same tables and will eventually also replace the access front-end but that's at least a year off) My server application has a DataSet that mirrors the SQL tables. This way I have local copy of the table data I can work with programatically (and more quickly) and send updates to the SQL tables as necessary. This arrangement works well but I'm concerned about how to tell if the Access front-end has changed any of the SQL tables since I did the Da ...Show All

  • Visual C++ XML Extracting Attributes (Simple Question)

    Hi, I have a simple question regarding XML. If I have an XML file in a similar format as seen below, want I want to do is find ‘Product_Number = 1’ get the COLOUR and PRICE but what would be the best way to do this (C++ .NET) and would code loook like < xml version="1.0" encoding="utf-8" > <PRODUCTS> <PRODUCT> <PRODUCT_NUMBER>1</PRODUCT_NUMBER> <COLOUR>Blue</COLOUR> <PRICE>83.40</PRICE> </PRODUCT> <PRODUCT> <PRODUCT_NUMBER>2</PRODUCT_NUMBER> <COLOUR>Yellow</COLOUR> <PRICE>83.21& ...Show All

  • Windows Forms Help in datagridview

    HI.. please provide me the program to add, delete, edit and update records in datagridview.. please help check this out: http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx to add us the methods: datagridview.rows.add() or datagridview.rows.insert() to delete, you can use: datagridview.rows.remove() or datagridview.rows.removeAt() update is a pretty vague term, but you probably mean to update a cell value: datagridView.rows[rownumber].Cells.[colNumber or "colName"].value=12345 ...Show All

  • Visual Studio 2008 (Pre-release) Custom DependencyProperty not receiving change notifications

    I am making a custom control that has a DependencyProperty of type IEnumerable. Everything seems to work fine except for change notifications. I'm testing using an ObservableCollection bound to my property. If I add or remove items from the ObservableCollection, my DependencyProperty's change callback is never called. For testing I bound my collection to a generic ListBox as well and that handled the collection changes as expected. How can I make my property respond to change notifications from the bound collection Here is the relevant code... public static readonly DependencyProperty MyDPProperty = DependencyProperty .Register( "MyDP" , typeof ( IEnumerable ), typeof ( MyControl ), ...Show All

  • Software Development for Windows Vista Requesting Admin Rights without COM

    I have been trying to read over many of the articles concerning elevated priviledges in an application, but am a bit lost.  http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp http://windowssdk.msdn.microsoft.com/en-us/library/ms679687.aspx Those two of the main articles I have been trying to understand.  I know I can create a COM class that is defined in the registry and set it's elevation values there, then create it through CreateInstance.  The first article I am almost completely lost on (maybe it doesn't have anything to do with what I want ). Here's my situtation, I have a program that wants to write to registry, save files, etc, but can't do it without ad ...Show All

  • Windows Forms how to add n number of controls at runtime?

    how to add n number of controls (say textbox or treeview, or tablelayoutpanel) at runtime i am using vs 2005, c#. thnx. public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { for (int ix = 0; ix < 10; ++ix) { TextBox box = new TextBox(); box.Location = new Point(5, 5 + ix * box.Height); this.Controls.Add(box); } } } Alter properties as needed. This wouldn't apply to TableLayoutPanel, you only have one in a form. ...Show All

  • SQL Server Full-Text Search

    I am trying to create a full text index on a column in a table and the data type is Image, but the TYPE COLUMN FILE EXTENSION is in another table. there is no way of creating the type in the same table. the wizard will not allow me to pick the data type field from another table. is there a work around this issue Emadkb It is a fram work table and making any changes now would be impossible. Do you see any other solutions to this issue. I really appreciate your quick response. Emadkb ...Show All

  • Visual Studio Tools for Office Showing a form (while closing the calling form) hides the called form behind Outlook

    [VSTO 2005 Outlook addin] I launch a form (FormA) from an Outlook addin toolbar button. This form has a button to open a new form (FormB) and close itself. But I cannot get FormB to show and have FormA close itself. FormB opens but hides behind the main Outlook window with the code below. <Code in FormA> private void ShowFormB() { FormB = new FormB(); FormB.Show(); this.Close(); } If I remove 'this.Close()' then FormB open up properly on top of the Outlook window & FormA but then FormA wont get closed. How can I have one form call another & have that show while closing itself I dont want to use ShowDialog because its not to be modal. I also dont want to use the TopMost property on FormB because that would keep ...Show All

  • Software Development for Windows Vista RasEditPhonebookEntry() error

    Using Visual Studio 2005 on Windows Vista Beta 2 Build 5472, RasEditPhonebookEntry() returns error 120 (ERROR_CALL_NOT_IMPLEMENTED ). Code that worked previously on Windows 98-XP SP2 is: #include "Ras.h" #include "Raserror.h" #pragma comment(lib, "Rasapi32.lib") DWORD dwRet = ::RasEditPhonebookEntry(m_hWnd, NULL, _T("Test")); The result is the same using the default or a specified phonebook. Will RasEditPhonebookEntry() will be implemented in Vista Graham You had to use RasEntryDlgW instead, be careful to use the Unicode version, that's the only function which woks under Vista whatever language you use. HTH Chris. ...Show All

  • SQL Server Error: 18456 Severity: 14, State: 10

    I have SQL 2005 Expess installed on Windows Server 2003 SP1. My application is running as a service and is set to depend on SQL Server instance... During the startup my app attempts to connect to the databes and it fails to do so, after 30 retries (1second appart). SQL Server log has this error msg: Error: 18456 "Severity: 14, State: 10" Once the server has started, I cam manually start my application and it then sucesfully opens a connection to the database. What does this error mean Srdjan Start->Run...->services.msc Then go to the SQL Server service and stop it. Then Click <Properties> and in the <Start Parameters> field enter -y 18456. You can then click <Start> t ...Show All

  • Visual Studio How to two leves of compartements

    Hello I have one Compartement Shape with two compartements. I need add other level of compartement in one of them. I don’t see in documentation anything about this question. I normally work around this by adding a winform popup to a property on the first level of the compartment. You can for example show a grid in the form where you can add items. Requires some custom coding though. Let me know if you need more info, Gerben. ...Show All

©2008 Software Development Network