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

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

GManNC

Member List

Bingo Basic
Voice_Of_Reason
Neil Munro
David Bridge
yurafromlviv
Pat Long
Art Hill
Mircea Cimpoi
ZenBP
AmrendraKumar
vsparky
DanDead
Timothy Conix
Mister_Vee
Jens K. Suessmeyer - MSFT
Leopardgeckoguy
chazparks2
IMauricio
MMuffett
GAThrawn
Only Title

GManNC's Q&A profile

  • Visual Basic Day of Year

    Is there a method that does the reverse of DayOfYear Property (i.e, if you feed it the day of the year, it returns MM:DD:YY or simular) This suggestion produces the following error: Year, Month, and Day parameters describe an un-representable DateTime.   ...Show All

  • .NET Development why unable received sended mail?(system.net.mail,.net 2.0 )

    < %@Page Language="VB" %> <%@ Import Namespace ="System" %> <%@ Import Namespace ="System.net" %> <%@ Import Namespace ="System.net.mail" %> <script runat="server"> Private Sub Page_Init() Response.Expires = -1 Response.CacheControl = "no-cache" End Sub Private Sub Page_Load() End Sub Private Sub ExecuteSend(ByVal Sender As System.Obje ...Show All

  • Visual Studio Using DSL tools outside VS

    Having created and rebuilt the DSL (a very simple one - based on Minimal language, called VanillaLanguage below), I would like to add, delete, etc shapes, links programmatically (in runtime) and show the final diagram as a control in a winform. Is it possible If so, could you tell me how Thanks. Below is the code I have copied from another thread. Please see my comment in red below.  //In a winform  public void Crea ...Show All

  • Windows Forms LIB's in a Windows Form?

    Hi folks, I'm just wondering if it's possible to add a LIB to a Windows Form project I want to add Shlwapi.h, shlwapi.lib so that I can access the useful functions: PathAddBackslash PathIsDirectory PathRemoveFileSpec PathRemoveBackslash PathFileExists PathFindFileName etc.... Is it possible I can't seem to figure out how to add a LIB and just adding the .h causes a whole mess of problems. Any ideas Hi ...Show All

  • Visual C# Relative Paths (or CurrentDirectory) wrong if called with arguments?

    Hello Community, i got a very strange behaviour here. For example, i am working in the directory: C:\Test. When I call my assembly, abc.exe, the Environment.CurrentDirectory (or all relative paths) are C:\Test. Now, my file takes files as arguments (like an Editor). So when i drag and drop a file (test.txt) on my exacutable, the Environment.CurrentDirectory variable (and relative Paths) change to my default User directory which is something like ...Show All

  • SQL Server Snapshot agent gives error: line38: Syntax error near 'tabl'

    Hi all, I have created a new publisher. There are 997 articles. Snapshot agent has added some of the articles and after that it failed with error Line38: Syntax error near 'tabl' Please help. Could you please post the schema of this table, the sp_addmergepublication and sp_addmergearticle command text, so that I can try to reproduce this error on my side ...Show All

  • Visual Studio Express Editions ListView doesn't show on form

    I'm trying to create a ListView through code and add rows from a dataset to it. The code builds and runs but doesn't display a ListView on the form. It is getting data as I've walked it through and seen the ListViewItems getting added. Here is my code. Anyone have a suggestion Thank you   dsItems.Clear() ItemsTableAdapter.Fill(dsItems.Items) Dim dtable As DataTable = dsItems.Tables( "Items" ) Dim ListView1 As New ...Show All

  • Visual Studio 2008 (Pre-release) xaml.xsd

    where can I find xaml.xsd I haev downloaded the winfx sdk at: http://www.microsoft.com/downloads/details.aspx FamilyId=23A22468-5807-4FF7-A363-CE6FE69B8F04&displaylang=en and the iso image at: http://www.microsoft.com/downloads/details.aspx familyid=64193cc5-d566-402c-a211-ba48b312cf6d&displaylang=en but after installing them I cannot see xaml.xsd anywhere. James The links to overall download links f ...Show All

  • .NET Development Adding a row to a child table

    We have a DataSet with parent/child relations set up. We have a BindingSource and a BindingNavigator configured for each table. When we use the BindingNavigator for the child table to add a new record (click the Add button...) the foreign key value in the child table is not getting filled in. When we call EndEdit on the BindingSource we are getting an exception because this field does not allow nulls in the DataSet. The relationship between the ...Show All

  • Visual C# DirectX SDK Sample Converting Effects to VB

    Hello all, I'm converting the DirectX SDK sample framework to VB code. It's going great so far,  but i'm getting cought up on converting some lights code. Assume variable eye is a Vector3 containing camera eye point;  and effect is a DirectX effect created from the sdk file 'BasicHLSL_VBNET.fx' The code in the C# reads as follows... Vector3 eyePt = Vector3.Normalize(eye); effect.SetValue("g_LightDir", &eyePt, sizeof (Vector3)) ...Show All

  • Visual Studio Crystal Report

    Why records are not being refreshed automatically in Crystal Reports Preview... ...Show All

  • Visual Basic Datagrid OnClick to display row's data on another form2

    Hi, I'm using a data adapter 'da1' to fill a dataset 'ds1' which is used to display data in a datagrid 'dg'. How do I code datagrid OnClick event on whichever row the user click on the datagrid, to cause a new form2 to popup with textboxes to display the selected row's data and allow the user to edit the data and click 'update' so it will be updated to the database. The user can alt-tab to switch to main form and select another row, the new's r ...Show All

  • Visual FoxPro object is not defined but uncatchable

    It is a very strange situation and I have tried various combinations to beat it for a few days--to no avail. The code kept getting more complicated so bear with me please. The issue here is that there is a treeView and an outside button that is supposed to trigger some action. This action (search) needs TreeView.SelectedItem.Text and Tag properties. If I forget to make a selection beforehand the Type (" SelectedItem") is Undefined (&qu ...Show All

  • Smart Device Development ListBox sorting with VS2005 and PPC

    I've implemented a listbox in a dialog style wizard generated application.  In VS2003, the "Sort" property of the listbox defaulted to True.  I was happy to see that the default in VS2005b2 is False.  However, the behavior of the listbox is still sorted, and I am unable to change the property.  i.e. when I select "true" it stays at "false", and stil sorts the listbox. I want my listbox to remain unsorted (in the order that I ...Show All

  • .NET Development Why TransactionOptions does not work with SQL Server on Windows 2000

    Hi   The following code works fine on Windows XP, it works on Windows 2000, until you try to get data from SQL Server 2000, then it breaks.     TransactionOptions tScopeOptions = new TransactionOptions(); tScopeOptions.IsolationLevel = System.Transactions.IsolationLevel.ReadCommitted; using (TransactionScope transaction = new TransactionScope(TransactionScopeOption.Required , tScopeOptions) ...Show All

©2008 Software Development Network

powered by phorum