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

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

NianHawk

Member List

Cameron T
kgottfredsen
stevefrench
Paris42523
codedotnet
princessjiang
SamerAZ
Mike Wachal - MSFT
Matt Palmerlee
Thomas Mikolajczyk
jianghongtu
Cas10
Garrett Fitzgerald
pookie_halo
bwvick
-Anton Lapounov
Apopka_Pilot
chinafax
Cahyo Sasongko
nrs251
Only Title

NianHawk's Q&A profile

  • .NET Development DLLs with IIS problem?

    Hi all, I have an ASP.NET application developed with VS2005 and have some references to COM assembilies (.dll files). Here is the problem I am encountering. When I run the application from VS2005 it works fine no problem at all, but when I run it through IIS the assembilies do not work. I looked at other threads in this forum with similar problems and permission issue are mentioned for those problems, but I have no idea whether this is a permission issue or a problem about registering the assembily (.dll) for the IIS. Any ideas, I already tried it but it does not work. I do not know ...Show All

  • Visual Studio Team System Difference to past versions

    Hi! Just a simple question. I need a comparisson between VS2005 and past Versions. Is there a link or a page with that info thank you Hi, In addition you could also take a look at the following informative video  on MSDN TV: http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20040219csharpdf/manifest.xml Regards, Vikram ...Show All

  • Visual Studio Two way synchronization

    Hi all, As far as I know The DSL Toolkit doesn't support two way synchronization out of the box. Suppose I want to implement it (at least try). What are my best options Just writing the "raw xml" I think I heard somebody speak about a DSL demo at the PDC were synchronization between two models was demo-ed. How was this implemented Thanks in advance. Edward The DSL Tools V1 won't support two synchronization out of the box. Usually you would have one model in the designer, another model of the text/code representation in memory and you would use custom code to synchronize them each way. The PD ...Show All

  • Windows Forms DataGridView does't show updated data from dataset

    Hi everyone, I have a master/detail application where in the master I use a datagridview. In the detail I use textboxes and comboboxes to show 1 record of the master datagridview. After updating the detail and closing the detail I do a merge of the the 2 datasets in master and detail. This always works ok, but NOT for the comboboxes I use in my detail form. When I open the detail again, do nothing and return back to the master then my datagridview is updated correctly. But of course I want the update done correctly the 1e time. SIMPLE EXAMPLE Master datagridview contains: Postalcode - CityName - CountryID (visible = fals ...Show All

  • Windows Forms Autonumber in Access

    This is simple with a SQL Server database, but I am not sure how to handle autonumbers in an Access 2002 database when updating a datagrid bound to a datatable. When inserting a record, the dataset and the data source do not have the same value for the primary key.  The only thing I know to do is refresh the dataset after Updates are&nbs ...Show All

  • SQL Server SQL Management Studio (RTM) Connect Problem

    I'm trying to use SSMS to connect to previously configured remote MSDE servers. I can connect just fine using Enterprise Manager to these remote machines. Using Management Studio, I can only connect to some of the machines. And no matter what combination of authorization/protocol I select, I still cannot connect to certain machines. Some machines, configured with MSDE exactly as others, I can connect to. What is SSMS doing differently than Enterprise Manager Can somebody give me some clues of what to check   Please The error messages in SSMS are always along the lines of: =================================== Testing the registered serve ...Show All

  • Visual C# Get the font filename (like tahoma.ttf)

    Hi, Is there a method that can retrive the font filename e.g. tahoma, by passing it the font family Hi! I know the post is old but maybe some one can help me. The code is converting values from little-endian to big-endian byte order. But TrueType specification (from here ) says: " All TrueType fonts use Motorola-style byte ordering (Big Endian) " I didn't test the code but believe it is working. So why there is such unconformity between code and specification Or am I misunderstanding something ...Show All

  • Visual Studio Express Editions how to prevent multiple instances of my program?

    how to prevent multiple instances of my program please can someone give me a small example if is posible in C not C++ thanks! Try this... ( to be placed at the beginning of the _tWinMain() function if using C++ Express ) CreateMutex(NULL, TRUE, (LPCWSTR) "TESTAPP_MUTEX_NAME" ); if ( GetLastError() == ERROR_ALREADY_EXISTS )    return FALSE; ...Show All

  • Windows Forms Run VB.NETApplication on MAC

    How can I make VB.NET application run on Mac.  Thanks you can run your asp.net apps (stripped down versions) on the Mac os10 using mono remember that they have re=implemented all the classes in C# for Mono, so all api related stuff expect to be buggy or not work at all. This is Just the ASP.NET namespace!  System.cryptography might not&nbs ...Show All

  • SQL Server Alter column question

    I've been asked to consider modifying our largest, oldest and most used database. "They" want to change the type of some columns from tinyint & smallint to dec(4,1) thru dec(6,1). I'm doing all I can to prevent this asinine change, mentioning the fact that everything we've built in the last 12 years will need to be checked / modified. But, in case I lose, I wrote a script to modify the columns. It consists of a bunch of T-SQL commands like: alter table course_table alter column credit_hours decimal(4,1) go I ran one of these commands on a local subset and it took forever to finish. The full script will have to be done over t ...Show All

  • SQL Server Sql2005 installation headaches

    I am trying to install sql 2005 on a machine that had VS2005 beat and SQL2005 CTp on it.  I have uninstalled every possible component that was in the beta release, and I still get the error, SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme The mentioned readmen file is usless, can someone please tell me what I have yet to uninstall to satisfy SQL   Thanks   ...Show All

  • Visual Basic resx assembly error

    Hello I am trying to open a project given to me by a colleage which was developed in vb.net 2003 I'm using .net 2005 beta 2 I'm getting the following error: Warning 1 ResX file The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Line 279, position 4. cannot be parsed.  279 0  What does it mean   - how do I proceed - thanks Hi To summarise after making the change you suggeste re: the resx file, now I can build the project. thanks for all your help. Bruce ...Show All

  • Visual C# C#.net or VB.net

    I am beginner for .net programmer. Just want to know which one is better on marketing VB.net or C#.net I heard big companies more like c#.ner than vb.net thanks. >>I heard big companies more like c#.ner than vb.net Yes, You are true, Because of its elegance, type safety and C++ like language. If you are from C,C++ and Java , you will find no difference than editor with C#, if you are form VB You may be feel good @ VB.net. My personal suggestion is go for C# Senthil senpost.blogspot.com ...Show All

  • Windows Forms Help with clunky event handling

    Hi all. I come from a background of many many years of coding in Delphi using ADO to hook into SQL Server. Now I am coding in Visual Studio 2005 using the ADO.NET layer and .NET 2 components and it feels like I have taken 10 steps back. Typically, I used to have all sorts of events raised in my db componets (in Delphi). BeforeInsert, AfterInsert, BeforeDelete, AfterDelete, BeforePost, AfterPost etc... Simple and easy to use. How do I access the same events in my WinForms apps I have a BindingNavigator, DataSource, BindingSource and TableAdapter on the form and all working very nicely. I am not using a DataGridView in the particular in ...Show All

  • Visual C# Operator + in strings

    string path = "C:\\Documents and Settings\\"+ LogonName +"\\Recent"; Error 1 Operator '+' cannot be applied to operands of type 'string' and 'method group' What do i have to do Thanks, Guilherme It looks like LogonName is a method, if so and it returns a string, try this: string path = "C:\\Documents and Settings\\"+ LogonName() +" \\Recent "; ...Show All

©2008 Software Development Network