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

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

marcyduan

Member List

pinkybaby
ajay_s
Mervyn-w
Nightmare_BE
tthulin
KazumaX
pmxinos
krig
Jobr77
Ceres629
n3tster
Oscarfh
alpefusk
Luke Yang
buntysk
Isonduil
Learning VB
hazz
Jimmie Johnsson
nbrege
Only Title

marcyduan's Q&A profile

  • .NET Development What is .net Framework

    The Microsoft .NET Framework is a software component that can be added to the Microsoft Windows operating system. It provides a large body of pre-coded solutions to common program requirements, and manages the execution of programs written specifically for the framework. The .NET Framework is a key Microsoft offering, and is intended to be used by most new applications created for the Windows platform. The pre-coded solutions form the framework's class library and cover a large range of programming needs in areas including the user interface, data access, cryptography, web application development, numeric algorithms, and network communications. The functions of the class library are used by programmers who combine them with their own ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking

    A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy.   Jon Watte wrote: I've got an archive of Andy's post. It was ...Show All

  • Visual Studio Express Editions C Serial Port Program doesn't run in VC++

    This is my actual c program. #include <dos.h> #include <stdio.h> #include <conio.h> #define PORT1 0x3F8 /* Port Address Goes Here */ #define INTVECT 0x0C /* Com Port's IRQ here (Must also change PIC setting) */ /* Defines Serial Ports Base Address */ /* COM1 0x3F8 */ /* COM2 0x2F8 */ /* COM3 0x3E8 */ /* COM4 0x2E8 */ int bufferin = 0; int bufferout = 0; char ch; char buffer[1025]; void interrupt (*oldport1isr)(); void interrupt PORT1INT() /* Interrupt Service Routine (ISR) for PORT1 */ { int c; do { c = inportb(PORT1 + 5); if (c & 1) {buffer[bufferin] = inportb(PORT1); bufferin++; if (bufferin == 1024) {bufferin = 0;}} }while (c & 1); outportb(0x20,0x20); } void mai ...Show All

  • Visual Studio Express Editions weird exception

    THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks Why When I create an instance of my class; hw01 first(1); Then, call my function of that class. So why should I create an extra function for this Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. big problem

    hello everybody. please help me how i can learn text lenghth in pixels without gdi+ and one more question, how i can learn Z cord from .x p.s. sorry for my bad english i'm work with directX. i'm trying to write UI(user interface), EditBox. I need to draw cursor after text, so i need to learn position of end of text. And i need X cord, because character will run on terrain. Sorry for my bad english ...Show All

  • SQL Server invalid reconciler parameter

    First of all... thanks for a great and interesting product... this is really nice... I'm working with a winform app and pushing it out via click-once deployment (using the bootstrapper for SQLCompact as well)... the SQL install is fine, however when my app attempts to do anything with the db, i get an error "invalid reconciler parameter" error... some searching seems to indicate that this could be coming from the path being longer than 128chars... howeve, using click once, i'm not certain I can control the deployment location... I'm certain that there is a work around, but not sure what it is... any guidance As a note, running the app on the same machine using the output from VS (not installed via ClickOnce but simply runni ...Show All

  • SharePoint Products and Technologies Error on updating document library on ASP.NET App but not in Console App

    Hi, I’m trying to upload a document/meta-data to a Document Library. The curious thing is that with the exact same code I’m able to do it in a Console App but not in a ASP.NET 2.0 App (I get an error in file.Item.Update();). The code in both Apps run with the same elevated privileges . The code I use and the error: SPSecurity .RunWithElevatedPrivileges( delegate () { Logger .Write( WindowsIdentity .GetCurrent().Name, "General" , 0); using ( SPSite siteCollection = new SPSite ( ConfigurationManager .AppSettings[ "Site" ])) { SPFolder folder = siteCollection.AllWebs[ "saude" ].Lists[ "teste&quo ...Show All

  • Windows Live Developer Forums Launching activity while passing data?

    Hi, I'm wondering if it's possible to launch an activity and pass data to it at the same time For example, say http://messenger.msn.com/Resource/games.aspx appID=xxxx&additionaldata=blah would it be possible to do something like that How would my activity read this additional data For example, after creating the ActiveX control to launch Messenger, can I do something like: obj.data = blah obj.LaunchApp(...,...) and then from w/in the activity var x = window.external.Messenger.data Ideas/solutions Thanks, Lee ...Show All

  • .NET Development Digital signature in email

    Hello I need to send emails with digital signature in .NET (c#). Can anyone help me ...Show All

  • SQL Server Percentage Format

    I am trying to display a figure as a Percentage. The figure is 2.00000. I want it to show as 2.00%. When i go into the formatting i select P but it displays the figure as 200.00%. What formatting code should i use to get 2.00% The format code 'P' multiplies your value by 100 then adds the % symbol at the end. You can do a couple things to get this fixed. Remove where you are multiplying the value by 100 in code, then set the format code to 'P'. Another way is to use this as your expression for your field. =Format(Fields!Field1.Value, "0.00" ) & "%" Hope this helps. Jarret ...Show All

  • Windows Forms How to reflect Selected listBox items from One Form to Another Form.

    Dear Friends i have a form Form1 with a listbox and a button. and i have a form Form2 with a listbox and a button when i click Form1 button my Form2 should open with a default list items. when i select some items in Form2 and after clicking the button of Form2 my selected items should be added to From1 Listbox. any suggetions Ragrds Ranadheer Hi Ranadheer, see this post, it might point you in the right direction: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1102064&SiteID=1 Thanks Mark. ...Show All

  • SQL Server Conditional statement with a cast from string to date

    My source file is showing column 10 as string. My destination table is datetime. I am using the derived transformation with a conditional statement. How do I convert the value from string to date. Everywhere I try the ( DT_DATE ) I get an error. [Column 10] == "01/01/0001" " 01/01/1801" : [Column 10] <= "12/31/1801" "12/31/1801" : [Column 10] Where do I check that I only see the input defined in the derived column transformation which is dt_string 50. The column is defined as datetime in the table. ...Show All

  • Smart Device Development How to register a directshow filter in Windows Mobile 5.0?

    Hi I write a directshow filter (eg. mp4demux.ax) for window mobile 5.0 by using Visual studio 2005 In windows xp , I just register the filter by calling "regsvr32 mp4demux.ax" But How to do the same work in Window Mobile 5.0 Must I create a self-register filter Thanks Try registering it with regsvrce.exe, which you will get with eVC installation. Or here http://www.pocketc.net/release/Distribute/regsvrce.zip -Mahesh ...Show All

  • .NET Development Regular Expression

    Hi all, I am new on using Regular Expression. I have a few cases that need your help on how to construct the regular expression for validation a) string can only be alphabetic b) must be in the following format nn.nn where n is numeric c) string that allow only alphabets, numbers and underscore where first letter must be alphabetic d) First letter must be 'C' follow by 2 numbers (eg. C02, C99 etc) Lastly, could someone provide me with relevant website for me to learn more on regular expression. Thanks First of all, take a look at regular-expression.info you'll find all you need. Some answers: a) ^[a-zA-Z]+$ will match only alphabetic strings, not depending on letter case. Ta ...Show All

  • Visual C# Rich text box problem...

    Hi… In my application…I am trying to add data received on comport in a rich text box. Rich text box is on second form & my SerialPort.datareceived event is on first form. Here is my sample code… form2 f1 = new form2(); Serialport. .DataReceived += new SerialDataReceivedEventHandler (port_DataReceived); private void port_DataReceived( object sender, SerialDataReceivedEventArgs e) { ReceivedData = comport.ReadExisting(); f1.Controls[0].Text = ReceivedData; f1.Controls[0].Invoke( new EventHandler ( delegate { f1.Controls[ 0]. AppendText(ReceivedData); })); } But I am getting error on th ...Show All

©2008 Software Development Network