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

Software Development Network >> akira-888's Q&A profile

akira-888

Member List

SomE matriX stYles
mehran farshadmehr
nicromi
CaptainSmudge
issarto
Gummy417519
BlindCoder
saurabhsule82
bigshiny90
--Alan---
GabiMordov
Rama Krishna rao
Ride44
Vladox
AndyBee123
Carl Daniel
Amber48019
AlexBB
jabuka
EyalRF
Only Title

akira-888's Q&A profile

  • Visual C++ C6.0->VS2005 -user messsages- ON_MESSAGE error C2440: 'static_cast'

    Help Needed: I'm moving a program from C6.0 to Visual Studio 2005 C++.  It's an MFC program.  The problem I am having is with ON_MESSAGE handling user messages.  The compiler is not happy with the function prototype for the message handler.  I've made the needed changes to the code to satisfy the stronger type checking of this compliler, but don't understand the 'static_cast' comment.  I've tried making the function 'static', but it makes no difference to the compiler. [from acquiredoc.h] public : afx_msg LRESULT OnSetCameraParms(WPARAM w, LPARAM l); [from acquiredoc.cpp, lines 135-140] BEGIN_MESSAGE_MAP(CAcquireDoc, CDocument) //{{AFX_MSG_MAP(CAcquireDoc) //}}AFX_MSG_MAP // ON_COMMAN ...Show All

  • Visual Basic Access database

    I come from viausl 6 and i just want to ask the basics for working with mdb databases. (Maybe is the same as visual 6) Connect to database, search on it.. execute sql commands... Thanks for your help Untill now, in visual 6, when i was working with access databases i was doing something like this: dim mydatabase as database dim myrecordset as recordset ... ... Set bd = OpenDatabase(".\accessdatabase.mdb") 'Access 97 format Set myrecordset = bd.OpenRecordset("Table1", dbOpenDynaset) ... myrecordset.movenext myrecordset.movefirst ... etc, etc.... That is my knowledge (for database treatment in visual 6) and i want to ask what should i know to do similar treatment in visual .net... (in lat ...Show All

  • Windows Forms Changing size property

    How do I enable the changing of size of a control like combobox Thanks. regards Alu Hi everyone I solved that ComboBox height problem making first Panel container and dropping ComboBox to this container. To change Combos height simply change Panels Font size property as ComboBox's height depends by font size. At runtime you can use ComboBox.SetBoundsCore method protected override void SetBoundsCore( Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified ); and again you need think 'height' by font units plus some border space. I think. Hope this helps you. ...Show All

  • Visual C# how to update database using dataset and stored procedures

    i've been trying to update my database using my dataset but see no results. my dataset came from the datagridview. i passed the dataset to my dal and i want to update my database using stored procedure. i've seen some samples but its not using stored procedures. Follow these steps:- 1: populate the dataset 2. Make the changes that you want 3.Create update,insert ,delete commands for the dataadaper 3.pass the dataset to dataAdapters update method. The code will look as follows:- SqlDataAdapter da = new SqlDataAdapter (); SqlCommand com = new SqlCommand (); DataSet ds = new DataSet (); SqlCommand com1 = new SqlCommand (); SqlCommand com2 = new SqlCommand (); SqlCommand com3 ...Show All

  • Visual Studio Team System Working without DB Pro

    We've got a fairly large number of developers (150). Most of them won't be receiving VSTSDBP. Some of those that don't receive it may still need to check some stored procs out of TFS & work with them. Since the scripts within DB Pro don't have drop and aren't alter, does anyone have a suggestion for working in this manner We're looking at a process solution where we do a daily build that would wipe out any work done on a database so they would need to get any changes to us prior to the next build. However, it seems like it could be full of holes. Well, they're your files, so you can check them out, edit them, and check them back in :-) Be sure to encode them properly, however. We expect the file ...Show All

  • Visual Studio 2008 (Pre-release) WCF Client blues (MSDN Subscriber)

    Hello.  I have been trying to write a WCF client to consume a java-based web service secured by Apache WSS4J but have not been successful.  The web service requirements are: 1. Must be accessed via https (i.e. SSL). 2. Request must use SOAP 1.1 format. 3. The SOAP Body in the request must be signed, with the BinarySecurityToken (X509 certificate) embedded in the headers, per WS-Security 1.0 spec. 4. However, the web service itself does NOT sign the responses.  So, the client must NOT expect the response to have any WS-Security headers in it. First off, how would you implement your WCF client given the above requirements   If only someone can answer this question, I'd be in heaven.  ...Show All

  • Visual Studio 2008 (Pre-release) H Disable visually impairing ClearType in WPF?

    Hello,   I'm a developer and spend quite a bit of time on the computer.   After upgrading to the latest expression betas, I noticed the expression products got a nice UI overhaul.   They look nice!   However, I wear glasses for viewing objects in the distance because of my myopic vision and I do not use my glasses while working on the computer because I can see things quite clearly up close.   I've tried ClearType technology in the past, and tried various ClearType PowerToy tweak settings and still find that clear type anti-aliases fonts and makes them appear "blurry", "fuzzy" and "soft".   After working with the new expression products with ClearType enabled for about 3 minutes, my ey ...Show All

  • SQL Server linear regression with nested explanation variable

    We are trying to create a model of linear regression with nested table. We used the create mining model sintax as follow : create mining model rate_plan3002_nested2 ( CUST_cycle LONG KEY , VOICE_CHARGES double CONTINUOUS predict , DUR_PARTNER_GRP_1 double regressor CONTINUOUS , nested_taarif_time_3002 table ( CUST_cycle long CONTINUOUS , TARIFF_TIME text key , TARIFF_VOICE_DUR_ALL double regressor CONTINUOUS ) ) using microsoft_linear_regression INSERT INTO MINING STRUCTURE [rate_plan3002_nested2_Structure] (CUST_cycle , VOICE_CHARGES , DUR_PARTNER_GRP_1 , [nested_taarif_time_3002]( SKIP ,TARIFF_TIME ,TARIFF_VOICE_DUR_ALL) ) SHAPE { OPE ...Show All

  • Visual C# Adding licensing capability to my app

    Good day. I'm looking for a way to add licensing to my application. By this I mean I want to be able to control how many users are able to work with the software. It would be best if they generated a license file, for example, and sent it back to me, where I could 'activate' the file and send it back to them, thus preventing unauthorized use of the software. What is the best way of doing this Surely there must be some MS tools that help you add this to your app Any help would be greatly appreciated. V. The Volume Serial Number way is a bad idea because if I format my drive, for example to re-install Windows, then it gets a new Volume Serial. Then, the application that is locked to it will fail to work. ...Show All

  • .NET Development Connection String in Client / Server Application, Strong typed Dataset

    Sorry bout the subject, but it is my conundrum. I have a solution (C#) that is fat clients (winforms) talking to a database (SQL Server 2005). Our solution uses a strong typed dataset for all of its operation for the various benefits gained therein. I have used untyped solutions, and when you write the dataadapters, its very easy to customise the connection string. However strong typed, you must specify the connection string at design time. Our server deployment must be hands off, and thus my problem. I have created a customised database installer that obtains information entered by the Administrator on how to connect to the database, and I have a way to take that information and put it into a string. What I need is a writa ...Show All

  • Smart Device Development .Net CompactFramework 2.0 data question

    Hi everyone, Does the .Net CompactFramework 2.0 support the System.Data.Odbc namespace I'm using VS 2005 for a CE 5.0 project and I need to connect to a database via ODBC. Thanks in advance, Dave Neither NETCF nor Windows CE support ODBC. ...Show All

  • Visual C++ Linking static library to a managed dll

    I have a static library that i want to be able to link into a different project that is written in managed code. The project I am creating is a webservice and i need to be able to use the classes in the static library. When I build the project I get tons of link errors like unresolved external symbols. I am assuming from what I have read the i have this mixed dll loading problem. Is this the case I am currently getting errors like : msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Register(void)" ( _Register@facet@locale@std@@QAEXXZ) already defined in libcpmtd.lib(locale0.obj) msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet: ...Show All

  • Visual Studio Express Editions Access number of instances of record

    Hello everyone. I have searching a Access database down. I would like to know when I return the values that I want can I detect if there is more than one of that type of record (phone number) I will sent it to a text box to say it has more than one of these found. Is this possible   thanks OK I the first one to work but it will only give me an answer of 0 and 1. I have a few doulbes. When I lookup "2", there are 4 of them I get an answer of 1. here is my code Dim theOleDbCommand As New OleDb.OleDbCommand( "SELECT count(NUMBER)FROM TESTTABLE WHERE NUMBER LIKE '" + seekValue + "%' " ) theOleDbCommand.Connection = New OleDb.OleDbConnection(connectionString) t ...Show All

  • Visual Basic Problem in VB Designer

    Hello all. Hope you can help me with this, i've been searching the forums for the past hour with something the same, however haven't found anything. I know lots of you have had problems with the form designer giving errors and refusing to show the actual form, mostly because of some transition in software i take it (i aren't a Full time programmer, its just a hobby.) My problem is similar, vb refuses to show me my form and now i have even more problems. the last thing i did before this happened was try to add an imagebox to the form. Heres a few errors i get: every label i have is no longer declared event 'load' cannot be found - My other problem is, i managed to close the designer window during this problem and i cant remember how to get ...Show All

  • Smart Device Development Win XP auto update install fails error 0x641

    I have been trying to update recently my 2.4mhz winXP pro and the installs fail with the error 0x641. i have tried numerous times and have not been successfull since 1/27/07 dickxe This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

©2008 Software Development Network