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

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

Bapa

Member List

Cesar Francisco
elena.n
DevDiver
jeffers
ItsMe!!!
h1
TheQuietShadow
Sean Fuller
Andy Ho
Baller4lifeII
Jeff Scott
RichardCasey
Prak
Alex Merchant
jessie2
is98
thukralz
xgene
BLV
LightTamer
Only Title

Bapa's Q&A profile

  • Smart Device Development Lock in WinCE

    Good Day. I am programing on WinCE and now I have a problem. I am writing a program which must lock SmartFone device. Can you suggestion h ow to solve this problem. thanks. Which kind of lock are you referring to One is physically locking your phone, to avoid keypress or tampering. The other is a locked mode, where unsigned applications cannot run. Which is it that you want to implement ...Show All

  • SQL Server Replication over Replication...

    Hi all. I have created two replications. One from the main server (ERP) to my Mobile Manager Application (MMA) and the other one is from the MMA to all Mobile Devices (Tablet PCs). The last replication works fine (MMA => MD). But when the first replication (ERP => MMA) tries to update the tables (which are the same on both replications) I get the error that the first table to update cannot be updated because it is included in a replication. I'm not that much experienced working with replication, so I'm looking for some answers to try to solve this problem. Maybe there are some other methods to work this issue. I'd really appreciate any help or suggestions to work this around. Thanks. Fabio. Thanks Zhiqiang for yo ...Show All

  • Visual Basic Smtp Email Question

    I was just curious if anybody knows how to set the username and password on an account in order for the smtp client to be able to send an email... Thanks All... It seems that port 587 needs to be used for gmail. Spotty, thanks for the help. I never even thought to search all of the forums. ...Show All

  • Visual Studio how to open report from the form ?VB 2005

    Hi I am using VS 2005 (VB) . I have a windows form and 6 textboxes display the values from the database. My question is. How do I open a report from the windows form by click the button and populate the fileds in the report with values from windows form. Advance thanks Vaish ...Show All

  • Visual Studio Team System Always getting "The internal state of the database project..yada yada..."

    That quite annoying as I don’t want to always kill the project from source source and get the latest correct build from the deployment database and build everything on top what was done in the meanwhile. Any suggestion or solution for that in the meantime -Jens. --- http://www.sqlserver2005.de --- Hi Jens, I made that comment since in your repro steps, you noted: "Import the schema from a SQL Server 2005 database (formerly created with VSDBCTP4)" So, if you created the file in CTP4 and then checked it in and then tried to check it out in CTP5, there could be issues here. But since it is a CTP5 project, then you can ignore me. Since TSData is in CTP, I don't think there is any gua ...Show All

  • Visual C++ [Severe Problem] CreateFile fails in VS2005 (Help me!)

    Hi there. I posted several times like this problem... At last, I tested by using MSDN example code: http://msdn2.microsoft.com/en-us/library/aa363147.aspx I copied this and built in VS2005. However, the same failure appeared. ... hDevice = CreateFile(" \\\\.\\PhysicalDrive0 ", // drive to open ... if (hDevice == INVALID_HANDLE_VALUE) // cannot open the drive { return (FALSE); } ... The value of hDevice is -1, and then returned (by FALSE). I just created new win32 console application project, and copied and pasted, then built it. I did not set project properties at all. Needing any project configuration Please Help me. Hi, I am new to this f ...Show All

  • Smart Device Development Checkbox array in place of radiobutton array after converting a application from pocket pc to smart phone

    I have converted an application from pocket pc to smart phone. In one of its form I have a dynamically created radiobutton array. Now as radio button is not supported i have to use check boxes. I have done it but as i am creating it dynamically how can I uncheck other checkboxes if i check one of them.I know i have to make delgate and event handling but if some body give me sample then it will be very helpful. My code is System.Windows.Forms.CheckBox[] checkBoxes; private void InitializeComponent() {         checkBoxes= new System.Windows.Forms.CheckBox[4];         for(int j=0; j<4; ++j)         {           &nb ...Show All

  • Visual C++ VC++ 2005 redistributable

    Hi, I'm trying to get an MFC application compiled with VC++ 2005 to run on a machine with VC++ 2005 express. There seems to be a problem with the manifest (which I don't fully understand despite reading the info on msdn). The original error in the event log when I tried to run it said Microsoft.VC80.CRT not installed so I installed the platform SDK and also copied over the atlmfc directory from the development to target machine. I also downloaded the VC++ 2005 redistributable and installed it. When I installed it, I didn't get any confirmation that the installation was successful, the installer appears to quit after displaying the progress bar. Is this the correct behaviour Now I no longer get any messages in the event log but when I try ...Show All

  • Visual Studio Express Editions Primary Key in a Database

    I’m making a database programme (trying to, I’m a beginner), and I’d like the “primary key” to be randomly generated when a new record is added. At present, I have a column entitled Primary Key and I have to manually enter a number. A primary key is randomly generated when I use Access, so how can I do it in VB Express Thanks for your help and advice, Regards, Steve Yes, the primary key needs to be a unique number. Some of the details in the records may be the same and that isn't a problem - but the primary key needs to be unique and I'd like it to be added automatically after I've finished adding the record but before closing the form. I've used Access in the past and I can set it up no problem. Regards, Steve ...Show All

  • Visual Basic How can I Find values in a DataTable?

    Hello folks, in VB .NET: I have made a table with 2 columns - 1. is the primary key, 2. contains whatever info. When i use the myTable.rows.find(primarykey)-method VB finds the row with the specified primary key value, and then I can extract the value in the 2. column. But, how can I do the opposite, i.e. make VB find a specified value in the second column such that I can extract the primary key(s) I guess there is an easy way to do this, but I've not been able to find it :-( Hope anyone can help... Your best bet here is to create a select statement to find the rows. Say your columns are named Col1 and Col2. Here is a method that will generate a select statement to return the values you're lookin ...Show All

  • Visual C# Get string back from a C++ function to my C# code

    Hello , I am writing a C# method to calls a C++ unmanaged function. One of the arguments of the C++ function will return a string. How do I implement this Many thanks, Hello, Currently, I am still investigating how to do the job is the best. But I read a Microsoft C# Programmer's CookBook, it has a cheater "Call a Function in an Unmanaged DLL". It uses an example, its C# code calls GetPrivateProfileString which is an API in Kernel32.DLL. The last argument of GetPrivateProfileString is LPCTSTR lpFileName. I guess lpFileName will return a filename. So My DLL current is trying to return a LPCTSTR. Unfortunatly, seems like the example on the book does not work. Thank you, ...Show All

  • SQL Server Error Processing Cube on 64-bit server

    We are in the process of migrating to a new 64-bit server. We changed the data provider for the cube from "Microsoft OLE DB Provider for Oracle" to ".Net Provider\OracleClient Data Provider" for the 64-bit and when we try and process this cube, we get the following error: Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: Value was either too large or too small for a Currency.. This very same cube was able to process on the 32-bit server just fine. The field that the error refers to is a number(28,0) in oracle and is fully populated in the database. I set up a simple cube on my laptop and if I cut the value in the field down to 15 ...Show All

  • Visual C# Private constructor

    What is the use of a private constructor as it is not getting called with an object creation in .net/c# I would greatly appriciate if anybody could clear my confusion here. Thanks in Advance..................... Use a private constructor to implement the Singleton and Class Factory design patterns. You'd supply a static method that creates the class instances for the client, thus carefully controlling how they are created and initialized. Missa's example of OleDbTransaction is different, its ctor is marked "internal". That's another technique where you allow only "trusted" classes within the same assembly to create the object. Trusted, as in, can be counted on to properly initialize the object. Possib ...Show All

  • SharePoint Products and Technologies Unable to map a Crawled DateTime field to a Managed DateTime field

    Problem Unable to map a Date Time field crawled from a BDC source to a managed property. Scenario: Using BDC to map ther Adventure Works database. 1) Defining the fields from the HumanResources.Employee table 2) Crawling the content results in new crawled properties existing in search (specifically looking at HireDate) 3) HireDate mapped as below < TypeDescriptor TypeName = " System.DateTime " Name = " HireDate " /> This gives the details: Property Name: AdventureWorksInstance.HumanResources.Employee.HireDate Category: Business Data Property Set ID: 2edeba9a-0fa8-4020-8a8b-30c3cdf34ccd Variant Type: 7 Data Type: Date and Time Multi-valued: No ...Show All

  • .NET Development Memory consuming during BinaryFormatter Deserialization

    Hi, I have a problem and I need your help please, I have made a large aplication that takes a very long time to generate the results, so I have serialized the intermediate results periodically in a binary files using BinaryFormatter in order to save it from any suddenly problems like shutdown or restart. Now I need to Deserialize all saved files to continue my work. The size of the saved file is about 6.5 GB devided into about 260 files. When I try to deserialize it one by one, the first three files were deserialized in about one or two min. , and then the speed is very slow down, and the memory is fully consumed. I think that when the reading process starts the memory begins free and it then filled out with each reading ...Show All

©2008 Software Development Network