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

Software Development Network >> nicola.giannetti's Q&A profile

nicola.giannetti

Member List

Paul B.
s0r3n
lekkie
Todd Piltingsrud
jasms
wpSlider
slipjack
JLucio
O_er
Markus Zywitza
ttoennies
Art Johnson
kamala kannan
Abhijitkane
Greg Kane
Kevin O Donovan
karen reyes
decyclone
mojo_jojo
SHRIMANT PATEL
Only Title

nicola.giannetti's Q&A profile

  • Visual C++ Form Closes without this->close() being called

    I have a form and when I click a button, the form closes even though I never call the close() function. The code is below: if(group) { tree->Nodes->Add(textBox1->Text); } else { tree->Nodes[gIndex]->Nodes->Add(textBox1->Text); } textBox1->Clear(); textBox1->Focus(); that is all my button_click even does yet my form closes after the execution...why You're not checking that gIndex is a valid index, could that be the problem I'm thinking perhaps it's blowing up. Have you tried setting a break point and stepping through to ...Show All

  • Visual Basic disable pop-up

    hello how i can disable pop-up window like "msgbox". i want that a window can not create "msgbox" thanks   DMan1 wrote: nima_API, All messageboxes, dialog, and forms are controled by the programmer in .NET.  If you do not want the user to be able to display a messagebox then you as the programmer should not create an instance of the mesagebox, dialog, or form. You really should listen to DMan1. This is common sense when it comes to your question.... ...Show All

  • Visual Studio 2008 (Pre-release) Foreign key relationship code generation

    I am not sure, but it looks like the code generation for foreign key associations seems off. I have the following association below. In the association when I remove a season record, the parent relationship is set to nothing and then the remove is attempted and failes because of a nil object, thus fails. If I reverse the code so the remove is done first and then set the parent to nothing it works fine. Is there anyway to correct the code generation to reverse this <System.Diagnostics.DebuggerNonUserCodeAttribute(), _ System.Data.DLinq.Association(Name:= "FK_Season_League" , Storage:= "_League" , ThisKey:= &qu ...Show All

  • SQL Server Scripting: How to customize? And Why not Level 7.0

    I have been going through SQL Mngt, and I can't find a place where I can configure the scripting options for the right click-scripting options... (similar to what was in QA in SQL 2000...)... Biggest thing, I am looking to add PERMISSIONS scripting to the default CREATE script selections. 2nd... How can I bulk script a database that is in Compatibility 7.0 mode. We have a converted database, that we CAN'T covert to 8.0 or 9.0 at this time, due to an application that errors out when you change the compatibility levels above 7. http://www.sqlservercentral.com/columnists/bBaliner/sql2000tosql2005wherehaveallth ...Show All

  • SQL Server Run querys after silent installtion SQL 2005 Express

    Hi, I'm looking for a solution to run querys (create databases ed) after a silent installation of SQL 2005 Express edition (example with a .sql file). So users can run a installation unattended with all databases installed and so on. What I got is a document about how to run a silent installation (document " Using Command Prompt Options to install SQL Server Express") but this docs there's no solution how to run querys after the installation. Thanks Robert-Paul I think you want to use sqlcmd.exe after installation. This really isn't a setup issue. You will probably get a better answer in either the Tools or DB Eng ...Show All

  • Visual Studio 2008 (Pre-release) UDDI & wcf

    Hi, I am trying to run the uddi sample, but I got a configuration problem , my uddi server doesn't use https, so I try to change the appconfig file in the uddiclient application : <system.serviceModel> <bindings> <basicHttpBinding> <Binding name="Https"> <security mode="None"/> </binding> </basicHttpBinding> </bindings> <client> <endpoint name="Inquire" address=" http://localhost/uddi/inquire.asmx " binding="basicHttpBinding" bindingConfiguration="Https" contract=&q ...Show All

  • .NET Development The -name parameter available under WSEWSDL2 has disappeared in WSEWSDL3

    I have migrated production code from WSE 2.0 to WSE 3.0, however I cannot generate the client proxy file from my TCP-based WSE3.0 web services using wsewsdl3.exe. The production web services have endpoints configured with an address Uri and via Uri, as follows: Uri address = new Uri ( "urn:WSE3" ); Uri via = new Uri ( "soap.tcp://0.0.0.0:50010" ); EndpointReference EPR = new EndpointReference (address, via); SoapReceivers .Add(EPR, this ); Under WSE 2.0 I was able to obtain the client proxy file (saved as client.cs) using the following command: Wsewsdl2 soap.tcp://localhost:50010 - name urn:WSE3 client.cs What is the com ...Show All

  • Visual Studio Express Editions Connect to MYSQL database from C# 2005 express IDE

    Does anyone know how to add MYSQL to the list of datasources you can connect to in Visual C# express 2005 Right now all that is in there is SQL Server and Access. Thanks. Thanks so much. I found the code already maybe i share with you guys hope it helps to those who have the same problems. Can refer to here: http://forums.mysql.com/read.php 38,91399,91518#msg-91518 using MySql.Data.MySqlClient;  // please go to mysql and download .net connector to use this. MySqlConnection oMySqlConn = new MySqlConnection (); oMySqlConn.ConnectionString = "server=server; database=db; user id=uid; ...Show All

  • .NET Development Using DirectoryEntry to manipulate local users

    This link shows how to add users to a group using DirectoryEntry http://msdn.microsoft.com/library/default.asp url=/library/en-us/sds/sds/adding_users_to_a_group.asp Is it possible to add machine local users to a local group If yes, what distinguished name would I use e.g. if I wanted to add the user foo to the local group bar on the computer qux Thanks, Klas Hi Klas, As the DirectoryEntry class is basically a wrapper over the top of ADSI you should be able to use the ADSI WinNT provider to bind to the local machine and add the user to the groups, rather than the LDAP provider. This page shows you how to do it using ...Show All

  • Visual Studio VSTS 2005 (PDC bits) Installation and Running Issues...

    I installed the given PDC VSTS 2005 and by the end it sort of failed still it finished the installation.  An exception was thrown while "Executing Action: hxMerge_VSCC_v80" and request for the selecton of a debuger by just ignoring the issue it continue with the installation and later told me that it was completed successfully.  It happend by the point in where it tried to run VSTS for some reason that I don't know, still on a retry I got the same issue. On both occations it installed the product, still when I run it it just shows the splash screen and goes away. Did some one had the same experience Can some one tell me how to ...Show All

  • Visual Studio Team System An exception to DoNotCatchGeneralExceptionTypes?

    I've faced with an issue when I have to disable FxCop rule what I didn't do until now. I have an asynchronous delegate call and catch exceptions around EndInvoke, like this: private void GetLogOnResult(IAsyncResult ar) {     try    {       AsyncResult a = (AsyncResult)ar;       LogOnAsync res = (LogOnAsync)a.AsyncDelegate;       res.EndInvoke();    }     catch ( Exception ex )    {    } }   FxCop suggest that I catch a more specific exception, and I ...Show All

  • SQL Server generate a text file from SQL Server

    Hi I need to generate a text file from SQL Server. The task automatically runs daily. The format of the text file use "/" to separate the field and the row. At the end of the file, it adds number of char  and uses "\". The number of char includes the data parts and excludes a few word of "the number of char". For example, The underline fonts mean the first row record. The Bold fonts mean the second row record. The Italic fonts mean the third row record. The red fonts mean the number of char and the end of file. 1/060222/008888/234/1/7441/2/BB/10000//////290025///// 1/060222/008888/234/1/7441/3/XX/100-//////290025///// 1/0602 ...Show All

  • Windows Forms WM_PAINT

    Hi, I'm using a windows form, and i want to repaint an area of the form continuously using a HBITMAP which is pointing to a bitmap that is continously changing. I've had a look around, and it appears WM_PAINT may be what I am looking for. Could someone please tell me how I would go about using this function I'd like to click a button in a form, and by clicking it, my code-generated animation will play on the form. Thanks in advance, Ljubica ...Show All

  • Windows Forms what control is in the locals window?

    I wonder what control it is called in the locals window in VS.net. It looks like a grid, but i don't think it is regular datagrid. Thanks Hi, It's window class is saying "TREEGREED" (you can check it with Spy++), so I guess it is not regular datagrid. It is probably something that was developed or purchased (Microsoft purchases third party components for VS ) specifically for VS. Max ...Show All

  • Windows Forms TableAdapter insert/update/delete generated on a table, but WONT on a view

    I am using VS2005 and adding tables and views to my project using "Add data source". It auto generates the .xsd file for me with all the items in there. I started off just putting views in there from my database, then when i rightclick -> configure -> advanced options, and check "Generate Insert, update and delete statements", click ok and next, the "Create methods to send updates directly to the database" is greyed out. I thought that maybe it was something funky with my view, so i tried doing it to a table, it works fine. So i tried doing it on a view which is simply "Select * From myTable&quo ...Show All

©2008 Software Development Network