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

Software Development Network >> Alessandro Camargo's Q&A profile

Alessandro Camargo

Member List

DBAMANI
s26f84
llkoolj
stswordman
Daikoku
ftbx
Hiral
WildRich
n0n4m3
M1tt
d72e4d
TCSC
nibsi
LAE2
Matcon
P.Johansson
kasejust
KimberlyL
Yash Purohit
Nick_M123
Only Title

Alessandro Camargo's Q&A profile

  • Smart Device Development how to minimize the form?

    how to minimize the form. and develop platform is c# .net cf hi Rob Thank for your link. it tell that .NET Compact Framework-based applications running on the Pocket PC use the main Form's MinimizeBox property to control their "smart minimize" behavior. When MinimizeBox is set to true (the default), the application places an "X" button on the top of the form, as shown in Figure 1. Tapping the "X" "smart minimizes" the application. But which .net cf api can make the form minimizes Thank you again. ...Show All

  • Visual C# Send and Retrieve files to Database

    hi again... This time i'm stuck on an issue concerning sending and retrieving *.exe files to and from a SQL database. Code to send: FileStream fs = new FileStream (FileName, FileMode .Open, FileAccess .ReadWrite); byte [] MyFile = new byte [fs.Length]; fs.Read(MyFile, 0, System. Convert .ToInt32(fs.Length)); fs.Close(); dAdapter = new SqlDataAdapter ( "Select * from system where id=1" , cnn); SqlCommandBuilder command = new SqlCommandBuilder (dAdapter); DataSet ds = new DataSet ( "system" ); dAdapter.MissingSchemaAction = MissingSchemaAction .AddWithKey; dAdapter.Fill(ds, "system" ); DataRow row; row = ds.Tables[ "system&quo ...Show All

  • SQL Server How to enable "Force Encryption" for SQL Server 2005?

    I need to enable "Force Encryption" for SQL Server 2005 by API instead of by hand, but I don't know which API can do it. I need to operate remote SQL server , so I cannot operate registry directly to do it. Who can help me You might find what you're looking for here: http://www.microsoft.com/technet/archive/winntas/maintain/security/c2secgde.mspx mfr=true Buck Woody ...Show All

  • Windows Live Developer Forums Map events not firing in Firefox 2

    I just upgraded to Firefox 2. Event though this is still a release candidate ( i know ), the map events are not firing on my app. The events in question are "oncontextmenu" and "onchangeview". These are the ones i use at the moment and so i don't know bout the other events. Will Firefox 2 be supported in the near future A lot of people are already switching, and I have to know what to expect (Question for the VE Team) Thank you. This code works for me on Firefox 1.5 and 2. I put it in a wrapper page with the only change being using getElementById instead of $ on the third line as I didn't have scriptaculous handy and I added a last close bracket that was missing in the sample: <!DO ...Show All

  • Visual C++ System::String^

    I am developing an application in visual c++ using VS 2005. I am reading data in via the serialPort dataRecieved class. This returns a system string, and I am assuming that the string is an array of unsigned characters. The trouble is I am unsure how to access individual data bits within the string. I can perform an if statement to check the contents against a set value. if(myString->Text == "hello world") But......I want to perform something like a switch statement so I can test the 3rd character against a set value, say... "x" or something similar. Can I do this When I have attempted it, I receive errors stating that a switch cannot be performed on a system string - IT IS ILLEGAL - apparent ...Show All

  • Visual Studio Team System No Traceability? Why can I associate a test to a work item?

    I believe that based on my reading that there is no real traceability within the current release of Team System. Let me explain our process. We have work items that contain our market requirements. Then we create linked work items which contain our product requirements. From the product requirement work item we spawn 3 more work items (i.e. Functional Spec, Design Spec, Test Desc). Once the Functional Spec is complete, I begin to write my Test Desc (which are tests which are kept in Team System for Testers). I associate my tests to one or more product requirement work items. When I run tests and they pass and/or fail, it appears as though there is no way to see which product requirement work items have been tested and what the l ...Show All

  • Windows Forms Click Once appliction name change

    I am deploying an application 'MyApp' using click once. Now i need to change the name of the application as 'MyApp2' (ie from MYApp.exe.Deploy to MYApp2.Exe.Deploy) I have this as offilne deployment as well (ie available via Startmenu). Now when i change my deployment name , if the user opens the app from start menu , it would not pick up the update since the deployment name for the app is changed. How do i handle this situation I came across som what similar senario in that case the team wanted to change the name I changed the visual representation in (publish/update) rather than changing the name of the application. By default, if you change the application name I do not think clickonce ...Show All

  • SQL Server Populating levels and members

    The code given below helps in retrieval of dimension levels and members cubenamev stores the cubename dimyv stores the name of the dimension Dim dbConn As New ADODB.Connection dbConn.Open(strconn) Dim dtCatalog As New ADOMD.Catalog dtCatalog.ActiveConnection = CType (dbConn, Object ) 'code to populate levels and members Dim cubes As ADOMD.CubeDefs = dtCatalog.CubeDefs Dim cube As ADOMD.CubeDef Dim cubedefn As ADOMD.CubeDef cubedefn = cubes(cubenamev) Dim dimery As ADOMD.Dimension dimery = cubedefn.Dimensions(dimyv) Dim leveler = dimery.Hierarchies(0).Levels Dim level As ADOMD.Level Dim ...Show All

  • Smart Device Development Using PocketPC serial port

    Can anyone give me some advice about using serial ports in VS2005 beta 2 on a pocket_pc. At first glance it seems easy, just declare an object as System.IO.Ports.SerialPort with events and process the datareceived event. Simple enough. However, putting this code in a class and tring to generate an event based on the DataReveived event results in   "An unhandled exception of type ' System.NotSupportedException occured in System.Drawing.dll" the Additional Information states "Control.Invoke must be used to interact with controls created on a seperate thread". This really has me confused since when you look at the code included, I am not even intentionally using threads. The application files included - opens as serial port when the use ...Show All

  • Visual Basic Vs2005 Project Corrupted on Microsoft update with Vista RTM

    Vista Ultimate - RTM (English) - VS2005 SP1 Team Suite (English) I have a project I've been working on for about 19 months. It's very near completion. I had the project open today when the system went down for a Microsoft Update. I store all of my control images in an imagelist. Tonight when I brought Vs2005 up to work on the project, all of the images displayed in controls including treeview nodes are displaying the wrong image. Control image display has been a stable condition for the last 19 months. The imagelist container is in Form1. The entire solution has been stored in VSS over the nineteen months. The images are added to controls both through form property sheets and dynamically through imagelist images and in both mo ...Show All

  • Software Development for Windows Vista Using a State Machine Workflow from ASP.NET and Winform

    Hello, I am developing an application, where parts are accessed as an ASP.Net Page and some parts are used in an winform application. I am using the state machine paradigm to connect the two. In order to get the reuse I wanted, I have encapsulated all business functionality (including the workflow) into a business layer (dll) which is called from both presentation layers. Everything works well, except for the SQLWorkflowPersistenceService. It does not store any information into the PersistenceStore. Has anybody run into similar problems and can give me a hint if this use case is not supported or am I just doing something wrong Thanks for the help, Bjoern Hi Bjoern, maybe the exception wa ...Show All

  • Visual FoxPro DSN Creation

    Hello I need to create a System DSN ODBC for SQL. I have seen a lot of solutions using DSN-less solutions but that does not work for me. I have to use this DSN from a third-party application where I don't have its source code. What I want with this simple code is to execute it before the third-party application, just to change some ODBC attributes (using the same DSN name) like Server same, user, password, etc... I have been able to delete the DSN, but no Create or Modify it. I am using SQLConfigDataSource function in this way: #define ODBC_ADD_DSN 1 &&' Add data source #define ODBC_ADD_SYS_DSN 4 &&' Add data source #define ODBC_CONFIG_SYS_DSN 5 &&' Configure (edit) data source #define ODBC_REMOVE_SYS_D ...Show All

  • Visual Studio Team System How to publish (clickonce) a solution

    Hi, I havent been able to find anything to help me to do this. I can do this manually thru the IDE, but not thru the Build Types. What do I have to place in the Build Type to get the program and its files published to our website I tried the following with no luck I just get an Entry Point error and I dont understand why. Please help. ======== < GenerateApplicationManifest AssemblyName = " AdminUtilGUI.exe " AssemblyVersion = " 1.28.1.0 " EntryPoint = " @(EntryPoint) " OutputManifest = " \\dalxpdss\DMDB_CODE\MARS Branch Project\DailyBuild2\Sources\daily build\MARS_Platform\Tools\MarsServerAdmin\SysAdminTools\obj\Release\AdminUtilGUI.exe.manifest " > < ...Show All

  • .NET Development Display autonumber

    I have a main form with an add new button that calls another form called frmNewBooking. My booking table has a primary key named bookingID that I want to display to the user every time he/she adds a new booking. Is there a way to display the generated bookingID in txtID on frmNewBooking when the form is 1st shown and everytime the user adds a new booking Note: Access DB used. Please do not refer me to: ms-help://MS.MSDN.vAug06.en/WD_ADONET/html/d6b7f9cb-81be-44e1-bb94-56137954876d.htm Yes, you are right, and thank you for your suggestions. Now I see where this has been going all along. Now, how do I know what the last Access-generated autonumber was and display that to the user I would like ...Show All

  • Visual Studio Nested class becomes ordinary class in Contents-tab

    Below, you'll see a class called MyComparer containing a nested enumerator called Type. If you generate documentation for this class using the August CTP, you'll notice that the Contents-tab of the generated documentation file contains both the MyComparer class and the Type-enumerator. That is good. However, it shows them as follows: - Namespaces - NestedTest namespace - MyComparer Class - MyComparer Constructor - Compare Method - Type Enumerator To a user, it looks like the Type enumerator is simply a class in the NestedTest namespace; he can not see that the Type enumerator really is a nested class in MyComparer. Is it possible to make this more clear namespace NestedTest { public sealed class MyComparer : IComparer { p ...Show All

©2008 Software Development Network