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

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

PedroCGD

Member List

andyr2005
hawash
LamptonWorm
Suganya Mahadevan
CoffeeAintDoinIt
moondaddy
JimT Utah
Jonathan MacCollum
craven50h
m_meuse19
DegreeZ
Reta
jgd12345
Mark Benningfield
Ke Sun
CodeKiller
Stem_penguin
joeycalisay
adorer
mckraut
Only Title

PedroCGD's Q&A profile

  • Visual Studio 2008 (Pre-release) Video playback frame rate and performance

    I am hoping to use WPF for an interactive application that plays video in realtime with 3D graphics drawn on top. Think of it like a simple video player with one video layer and one 3D graphics layer. Any pointers on relevant WPF topics would be great, or opinions on whether WPF is the right technology to choose. (Last time I did this by using DirectShow for video, writing a custom allocator-presenter for the VMR9, and then calling native DirectX routines to draw graphics onto the decoded video frames. It was OK, but a bit messy.) In the mean time, I have written a simple C# app which plays back video in a window. For my first test, I used a Type I DV AVI file (PAL), which is 720x576 at 25 fps. Unfortunately, the observed frame rate ...Show All

  • Architecture Architecture question

    I have a mobile field service app written to run on WM5 CF2 and would like some advice on architecture. For this type of app, the runtime performance is crucial in relation to startup time. I have a Data Access Layer (DAL) with various classes that provide the abstraction between business objects and the persistence layer e.g. SqlCe. One class per business object. On top of that is the Business Logic Layer (BLL) that uses the DAL layer. This is impemented by normal classes. And on top of that the Presentation layer implemented as a number of Forms that use the BLL layer methods only. I have also created a 'MyApplication' class with the singleton pattern. When the class instantiates, it creates all the BLL classes, the database c ...Show All

  • Visual Basic generating charts in excel from access data: can it be done?

    Hi, Can anybody give feed back on this query What is the best way to generate charts in excel using data from access in vb.net I would like to know if it is possible.... Thank you. Thanks wolfr for the reference. I will look into it. I would also like to know if we have to convert the access data into excel file first before getting the charts in excel or can we just get charts directly based on the access data. once again, thanks ...Show All

  • Visual Studio 2008 (Pre-release) How make a Custom Behavior participate in a transaction?

    Hi, I have a WCF Service that handles money movements and these money movements must be audited. The audit is done thru a WCF Custom Behavior (a type that implements IServiceBehavior). The question is how to make the Custom Behavior participate in the same transaction of the Service action that makes the money movement, in order to rollback everything in case the money movement fails or the audit fails. Thanks Jp.- HI, I am trying to understand the problem you're having in order to see if there is any resolution (I am a member of the WCF Tx team). Could you provide some details about the custom behavior that you use, and what particular extensibility point it is using in order to ge ...Show All

  • Visual Basic cannot start application

    hi when i publish my VB application via remot server , i get the followin message : cannot start application , check your network connection or contact your system administrator or network service provider , i get the following errors page: + Downloading http://www.pmlearn.com/pmp1/EXAM1TRY.application did not succeed. + The remote server returned an error: (406) Not Acceptable. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [8/27/2006 8:10:25 AM] : Activation of http://www.pmlearn.com/pmp1/EXAM1TRY.application has started. ERROR DETAILS Following errors were detected during this operation. * [8/27/2006 8:10 ...Show All

  • Visual Basic VB6 to VB.NET - Fixed length strings in structure

    I have an older vb app that creates a configuration structure with fixed length string arrays. This structure is saved directly to disk and each file has exactly the same size and format. VB.NET doesn't support fixed length strings or arrays. How can I dimension my structure to emulate this and thus load the structure from pre-existing stored versions as the VB6 version does. FileOpen(1, File, OpenMode.Random, , , Len(c)) How can I recreate this in the structure to be a fixed length structure so I can load and save exisitng structure data How do I recreate the functionallity of this statement Dim Param(7) As String * 8 ' Can't use <VBFixedString(64),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServic ...Show All

  • Visual Basic Find And Replace Command Not Working?

    Good day! My Find/Replace Edit Menu command inside VB 2005 is not working anymore, and SQL Server 2005 as well. When I tried to check this feature in Microsoft Office applications, there is no problem at all. It's mysterious, I don't know what happen. I also tried to re-install VB and SQL, but still it didn't work. I know it is a petty problem, but it plays an important role when editing your codes. Please help. Thanks Does anyone happen to know how to do this on SQL Server Management Console Just happened to me there. Thanks, Greg ...Show All

  • SQL Server Retrieving a list of Event Classes

    Hi, I have been trying in vain for the last few hours to retrieve a list of EventClasses for a particular Notification Service instance. Its a web application that I'm building I want to be able to populate a drop down list with all the notifications a user can subscribe to. Any advice on the subject would be greatly appreciated. Regards In relation to the above its actually a list of subscription classes that I wish to retrieve from the notification services instance and then the user will be able to select which one they wish to subscribe to. Sorry about the mix up. Regards ...Show All

  • Visual FoxPro using tow field index with codebase

    Hi, I'm using codebase to create table and index and i use VFP 9.0 to open the table and execute querys. when i'm creating an index for one feild : "CREATE INDEX ind ON person(age)" every thing works fine and there the index is working well. when i'm creating an index for two fields or more: "CREATE INDEX ind ON person(age,name)" VFP cant open the table. what seems to be the problem thanks ishay I opened the database created with vfp 7 and I used the option export to (from file menu tab), to change format in foxbase+ (it was the only format who worked). I re-create a new cdx index file (compound index file).I did not spent to much time with this because I was ...Show All

  • Visual C# Formatting dates from string

    Hi there, I have a string thus: 16-12-2006 That I have managed to get looking like this: 16/12/2006 00:00:00 By doing this: string date = System. Convert .ToString(newString); date = System. Convert .ToString( DateTime .Parse(date)); BUT! I cannot for the life of me find out how to make it display is this manner: Sat, 16 Dec 2006 Can anyone help a bit of a newbie out please TIA, d. I see you have problems using ParseExact method. In my previous code i intentionally used "en-US" but will be the same with "en-GB", in the first line and InvariantCulture in second one. The reason is the one you need to learn about ParseExact usage. In f ...Show All

  • Windows Forms Error when Executing MAcro from windows form

    Hi everyone, This is my problem: I am trying to create an excel object so I can run an excel macro. This is the code I a using: Dim oExcel As Excel.ApplicationClass Dim oBook As Excel.WorkbookClass Dim oBooks As Excel.Workbooks Dim missing As Object = System.Reflection.Missing.Value Me .TextBox1.Text = Me .TextBox1.Text + " Report Creation in progress Please Wait..." + vbCrLf 'Start Excel and open the workbook. oExcel = DirectCast (CreateObject("Excel.Application"), Excel.Application) oExcel.Visible = False oBooks = oExcel.Workbooks oBook = oBooks.Open("C:\Developpement\Project_RCP\RCP_App\Job Bruts\Job RCP.xls", missing, missing, missing, missin ...Show All

  • Visual C++ About the buffer of stdin....

      There are two '\n' characters in buffer(stdin) when we have successful input or not.  Following codes show that two of '\n' are exsisting. #include<stdio.h> void main() { int a; scnaf("%d",&a); printf("%d %d %d",stdin->_ptr[0],stdin->_ptr[1],stdin->_ptr[2]); } When we input the data to program, we press the enter button once. But two of  '\n' are in the stdin buffer.  Someone  who konws the reason demonstrates me.. please.. Please answer by using the _ptr,_base.... In the real memoy if input is successful you will see that "_ptr" move the next position.  In the real memory I think that scanf can rea ...Show All

  • Visual C# video buffer

    Hi.. im developping a client-server application in which i stream video.. i take 5 frames every second and send them to the server like this.. private void timer_snap_Tick(object sender, EventArgs e) { byte[] bpic; MemoryStream ms = new MemoryStream(); pictureBox_snapshot.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg); bpic = ms.ToArray(); if(bpic.Length <5001 && bpic.Length >800) m_VideoSocket.Send(bpic); ms.Close(); ms.Dispose(); } Two possible reasons I can think of. You're using a UDP socket (correct for streaming video) and you're losing packets. More likely: a synchronous Send() over the Internet is going to be slow; you're losin ...Show All

  • Software Development for Windows Vista GetPixel calls slow under Aero??

    Folks, I've been working with a 3rd party skinning API called The Ultimate Toolbox... and have noticed that rendering menus is incredibly slow under Aero... but everything runs fine under Classic theme. I narrowed the problem down to ::GetPixel() which is VERY, VERY slow. I created an MFC commandline app to prove this... walking 100 pixels through GetPixel took 4-6 seconds under Aero.. but milliseconds under Classic Theme in Vista 2 Beta. Does this sound familiar to anoyone I'm running an nVidia Quadro NVS 285.. with the latest beta drivers. Any help would be greatly appreciated. The code I'm working with actually does the GetPixel off a HDC from the Desktop. Thanks. -Jeff Thanks fo ...Show All

  • Visual Basic Learning Material recommendations

    Hi again, Just wondered if anyone has any recommendations on good books to get for learning visual basic the language(bearing in mind I have very little knowledge of it at the moment) I got a book titled MS visual Basic 2005 Step by Step, thinking that this would be the sort of thing i was looking for but although it covers the basic rules and syntax of VB I just wanted something a bit more in depth that would help me to learn about how to actually program in this language. This book is mainly about using the Visual Studio 2005 IDE and not so much the actual code. I have seen the book titled MS Visual Basic: The Language, but someone told me this was very much just about updates from previous versions of VB and as I don't know them eith ...Show All

©2008 Software Development Network