Software Development Network Logo
  • Architecture
  • Visual C#
  • SQL Server
  • Visual FoxPro
  • Windows Live
  • Visual C++
  • .NET Development
  • VS Team System
  • Windows Forms
  • Windows Vista
  • Visual Studio
  • Visual Basic
  • Microsoft ISV
  • Smart Device
  • Visual J#

Software Development Network >> Raf Franco's Q&A profile

Raf Franco

Member List

sagittarian
Chriz Lee
Kana
SillyEngineer
kaarde
jafar abazeed
pflangan
Chester West
Robert Green
Fili
snandan
AbdullahGhaleb
Ramkumar S.N.
maciu
Zeesh
sharon sharon
julo
bdbodger
markvanh
Zabi
Only Title

Raf Franco's Q&A profile

  • Visual C++ __FUNCTION__, __FUNCDNAME__ and __FUNCSIG__ macros

    I posted this a while ago, but it seems to have disappeared from the forums. As has the reply from Ayman Shoukry asking if it was still an issue. It is... None of these macros work! I'm using the __FUNCTION__ macro to output the name of a function when tracing generic run-time errors, and it always expands to "__FSTREXP __FUNCTION__" . All the others fail in a similar way - and I had such high hopes for using them! The fact that it does compile means that there's something wrong with the definition, or I guess it could be the way that I'm using it: I'm stringizing the expansion and widening it (my app is pure unicode out ...Show All

  • Smart Device Development Emulator Problem

    hi, I used vs2005, vss2005 & CHS Windows Mobile 5.0 PPC Emulator to develop application. I pressed F5 to run the application in the CHS PPC emulator. But after several minutes there didn't have any response in the emulaor, which hadn't happened before. So I checked the modified files in and closed the emulator. Later I closed the vs2005 and rebooted the computer. But this time, my emulator didn't response to my mouse click, but keyboard was OK. I reinstalled the SDK & CHS image, but there was no use. And only the CHS PPC Emulator didn't reply to the mouse click, other emulator such as PPC Phone Emulator was OK. How strange it was! ...Show All

  • Windows Forms Redefining a method within a class

    Hi, I would like to override or redefine a method in a class during runtime. Consider the code;class A {   public void m()   {     Console.WriteLine("A");   } } class Exec {   public static void Main(string[] args)   {     A a = new A();     a.m();                     // Output ...Show All

  • Visual C# Where is the Quick Console Window in RC version now?

    I have setup up the RC version of VS2005 for some days and I can't find the Quick Console Window when I was in the debugging mode which should be there. Is it removed in this new version That seems like a step backwards.  Dam this is one of the most useful feature for Dev/Debugging oh well are they planning to put it back in in furture SP's ...Show All

  • Windows Forms Using VBA (Access 2003) Themes in VB.Net

    Using the forms wizard in Access 2003, you can select a Theme (screen background, etc) for your form.  I'm migrating an app to VB.Net and I'd like to keep the same appearance. How dcan I do this ...Show All

  • .NET Development Validating a Client

    Can anyone tell me if it is possible (and if so, how do I do it) for a remote server object to validate that the client making a remote call is a specific application or component I am trying to create a remote server that will provide potentially sensitive information (such as encryption keys) to applications.  The application would use the information internally without revealing it to the end user. However, I want to ensure that a clever end user doesn't create their own application to retrieve the sensitive data from the server and use it for their own evil purposes! My plan is that all valid applications that can call the rem ...Show All

  • SQL Server Vacumming Question

    We have SQL NS 2005 with our ADF with the following setting: <Vacuum>    <RetentionAge>P7DT00H00M00S</RetentionAge>    <VacuumSchedule>     <Schedule>      <StartTime>05:00:00</StartTime>      <Duration>P0DT02H00M00S</Duration>     </Schedule>    </VacuumSchedule>   </Vacuum>   Shouldn't this only be retaining data for 7 days, which perhaps I should remove defined RetentionAge since that is supposed to be the ...Show All

  • Visual Studio Express Editions Help plz

    hi, first of all to get answer you have to edit your message title (look to the top of this forum how to get optimal answer") in your connection string "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Data.mdb;" i guess you have to remove the last ";" best regards ...Show All

  • Software Development for Windows Vista Can direct show write a MPEG-2 movie?

    Hi all, I'm a newbie. 1. Can direct show create "write" a MPEG-2 movie, from several image, like Windows Media Format Video Image ability 2. Where should i start to learn that Thank's 1. The answer is No. Microsoft does not provide MPEG-2 encoders. 2. Learn DirectShow and its DES. The only good learning place I have found for the DES is the DirectShow SDK documentations, there is no book currently devoted to this, and only one chapter is written on it in the "Programming Microsoft DirectShow for Digital Video and Television" book. To write the MPEG-2, you will need an enco ...Show All

  • Windows Forms MenuStrip and CloneMenu() ...?

    How can I clone a MenuStripItem In a book, I have seen an example: ContextMenu myContextMenu = new ContextMenu(); // Clones fileMenuItem and fills myContextMenu with the cloned item myContextMenu.MenuItems.Add(fileMenuItem.CloneMenu()); // Assigns the new context menu to myButton myButton.ContextMenu = myContextMenu; But in 2.0 version there is not a function like CloneMenu()... Thanks very much... The example assumes you use a MainMenu, which will work in 2.0. If you use a MenuStrip you need to do it a bit different. The example takes the "File" part of a menu strip and attaches it to the forms context me ...Show All

  • Visual C# Potential Bug with C#

    The screenshots speak for themselves. Debug - 4 is the most relevant shot. Take a look at the values shown in Watch 1, and the execution path that is being followed. What should happen is, base.Text == null evaluates to true, null is returned and life is good. What does happen, is that some how it passes over that part of the if, falls into the else and then executes the code highlighted in Debug - 4. A null reference exception is then thrown, because I try to call base.Text.Trim() when base.Text is null. Even though it should NEVER have gotten to that point. I hope the problem is clear enough. I'm running VS2005 RTM - I've just been to bus ...Show All

  • Visual Studio Interactive Multi Column Sorting question

    I know that you can do interactive multi column sorting, but in what sense   That is, lets say I have a table with a State and a FullName column.  I realize I can set things up so that the user can sort on the state column, or the user can sort on the Fullname column; But is it possible to fix it so the user can sort (interactively) first by State and second by FullName   If so, how does it work   Does the user click and ctrl-click various column headers Well, that's one of the frustrations of using a product like this.  Because it can be used in a variety of c ...Show All

  • Visual Studio Express Editions serial port help for dummies!

    is there any documentation on how to use the serialport component in visual basic express edition Hi Rick I have uploaded my application on the download page of my website at www.ampertronics.com.au if anyone would like to donload and try it out you are welcome. It is a simple program that is a cross between Notepad and Hyperterminal and sends thing out to the serial port. Any installation or other problems/suggestions are welcomed. I'll post the same on another thread so that helpful people can see the result of their input I would be interested to see if my application would work with your setup. By the w ...Show All

  • .NET Development Appending an element

    THis is a triky one: I have tried to append a created element with attributes  to a specific node in an already existing xml document. It doesn't work  !! I try appending the exact same element anywhere else in the xml document and it works!!!! This is where I want the element to go to but doesnt work: clone.LastChild.LastChild.LastChild.AppendChild(objectposition); I keep all the code the same but change this line as follows and it appends the element where it is told!: clone.LastChild.LastChild.AppendChild(objectposition); As there is definetely a third Child of the clone so the problem is n ...Show All

  • Visual C# RS232, convert string to hex string

    Hi all, I have my device that put out to RS232 port by hex format. I try using write code to receiver its information and when it display in string format, i can understand , such as : " Uay <00>€€€€<00><00Uay<00>€€€€<00><00> Uay <00>€€€€<00><00>Uay <00>€€€€<00><00> Uay I€€€€<00><00>UUay €€€€<00><00> Uay <00>€€€€<00><00> Uay<00>c€€€€<00><00>‥Uay E€€€€<00><00>EUay€€€€<00><00> Uay <00>€€€€<00><00> Uay <00>€€€€<00><00> Uay <00>€€€€<00>< ...Show All

©2008 Software Development Network