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

Software Development Network >> Davids Learning's Q&A profile

Davids Learning

Member List

S_A_S
mikej409
sRi rAM
JanSchreuder
mcnamaragio
T72
Damian Tran
FloridaJohn
Romantic_touch
meoryou
Peter Peter
bryanedds
Ken98045
kamil nowicki
Naftis
ferdesceline
PeterVrenken
Lorry Craig
Harold-z80asmRules
Laurent Kempé
Only Title

Davids Learning's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Animating Billboards Using A Single Texture

    I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordinates for VertexBuffer objects each frame Edit: As a bonus question, how do I enable the alpha channels in my textures Right now it shows up white. I am using the BasicEffect. Would I have to write my own effect just for that Seems rather silly but I will if I have to. Edit 2: As bonus question 2, how can I disable antialiasing of my textures I'm ...Show All

  • Visual C# Identify Serial ports

    Hi , I write an application in C# 2003. this program should list all the available serial ports on the computer and display it for the user. I tried with MSComm and AXMSComm to identify the Serial ports. But this components have only a function by the name of “commport” that return the index of one port to be used. Is there any way to identify all the serial ports and theirs name Thanks for your help /Babak If you are running v2 then the SerialPort class will give you the list of ports. For pre-v2 you can use WMI to get the ports. The Win32_SerialPort class defines a serial port. Query for all of them to get the entire list. For more information on using WMI refer to MSDN and search the forums. It is a popul ...Show All

  • Visual C++ How to send a wmv or avi file inline to/from outlook?

    Hi, In my one application I want to send a wmv file by mail. But I want that file to be send as inline instead of attachment so that user will start playing it as he opens the mail. Is it possible How can I achive this Regards, Hemant. Did u see this type of facility anywhere.if you are sending Some image.No mail Provide this Type of facility Because if you get this Type of facility then Easily you can Spread virus on someone mail.But if still you want you can Check how Trozan horse works.and in case if you want this to your side.Simply extract the attchment and Run the Program through Code.So there is no need for you to click The File. thanx ...Show All

  • Windows Forms Control.Dispose() also disposes the contained controls?

    Hi, Does Control.Dispose() also disposes all its contained controls I've found an old thread on the same question, but didn't have definitive answer. It'd be helpful if a relevant page in MSDN library documentation can be pointed out. Thanks for any info. Yes it does. See http://msdn2.microsoft.com/en-us/library/a4zkb31d.aspx. The public method is inherited from Component, so no such details. The protected Dispose(bool) method, which is called by the public Dispose(), makes this explicit. The above link should take you to the online doc. Enjoy, Erik ...Show All

  • Microsoft ISV Community Center Forums How to populate a list box using adodb recordset

    The error occurs when I assign the rs to the list box. Thanks, Steve C. Private Sub sortData() On Error GoTo Err_catch dim dbConn as New ADODB.Connection dim rs as New ADODB.Recordset dim strSQL as String Set dbConn = New ADODB.Connection Set rs = New ADODB.Recordset 'Create database connection dbConn.Open "Provider=Microsoft.jet.oledb.4.0;" & _ "Data Source=" & CurrentProject.Path & "\data\NED_DATA.mdb;" strSQL = "SELECT [ID],[GLOBAL STATUS], [AFFILIATION],[REGION]," & _ " [COUNTY], [RN], [A DATE]," & _ " [A STATUS], [GLOBAL], [ENTITY NAME]," & _ " [TYPE], [LASTNAME], [ ...Show All

  • Software Development for Windows Vista Auditing / non-auditing IP ?

    Hi all, I'm looking for some information about how to setup a CardSpace demonstration where the security token is not encrypted by the IP with the public key of the RP. I've read about auditing / non-auditing IP, which do or do not encrypt the security token for the RP, but I was wondering, is it only up to the IP to encrypt or not the token I mean, does the RP has a way to say "hey, don't encrypt the security token when you send it to me" For example, with some kind of tag on the web page in the <object> tag (like "requiredClaims") or in some XML config file Thanks, for a browser based scenario, if the .crd file for the managed card has the <RequiresAppliesTo> element set ...Show All

  • Visual C# Dispose question

    I have a form with a private member that implement idisposable. Therefore i need to dipose the members. But the dispose code is generated by the designer. How can i dispose the member The way i did was to handle the Form_Closing .. and in that handler .. i call the dispose .... is there another way that is better/cleaner/good practice Maybe .. i should make a wrapper/facade .. that implements IComponent .... that wraps the other object .... hmmm .... what you guys think ...Show All

  • Windows Forms Tab control not hilighting selected tab in yellow

    At design time, in VB, my certain form with TabControl looks and behaves fine.  However, at run-time, the yellow hilights that show you which tab you clicked on don't appear.  They also don't appear on mouseover.  What gives   I verified that the hilights do appear if I look at Control Panel -> System. yes, my bad, it's orange. i got an inkling this has to do with "Enable XP visual styles"... The way my program is structured, a C# subroutine calls a VB DLL which blah blah starts a new thread which starts the form where my tab control is. What's missing ...Show All

  • Software Development for Windows Vista P.S:Error while accessing Custom Workflow Properties in another Workflow

    Hi all... Pls Help...IM getting a Null Value Exception while trying to add local interfaces implementation service with ExternalDataExchangeService object. Error is like follows and its showing ERROR REPORT to SEND!! Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at SMConsole.Program.Main(String[] args) in D:\Sunath\Demo Works\SMConsole\SM Console\Program.cs:line 67 Press any key to continue . . . Its a state Machine Console application.Inside the events there r some custom workflows having custom activities.I wrote the workflow runtime codes in Program.CS file.Im sending the code for ur Kind reference...Pls help me..Im pretty new to workflows! PROGRAM.CS ...Show All

  • Visual Studio Tools for Office Inactive buttons on toolbar (continuation)

    Hi, I know that buttons on toolbars have to be defined on class level and have to be assigned a unique TAG property. What about the scenario when I don't know in advance how many buttons I will need to show.... how do you manage a varying number of buttons and their event handlers So fare I have come up with the following solution: // on top class level private ArrayList translationBtn_list; private Office.CommandBarButton langBtn_0, langBtn_1, langBtn_2, langBtn_3; ... private void ThisDocument_Startup(object sender, System.EventArgs e) { // I add the button instances to the ArrayList // init translation buttons translationBtn_list = new ArrayList(); translationBtn_list.Add(langBtn_0); translationBtn_list.Add(langBtn_1 ...Show All

  • Smart Device Development Unicode VS ANSI encoded files on Windows Mobile Devices

    Hi All, I'm very much aware of the sole use of unicode on Windows Mobile devices and that .NETCF2.0 strings are all unicode based.  I've developed an application that reads INI based files.  I created this file on my laptop and ignored the fact I saved the file with ANSI encoding.  This did not give me a problem reading the file though.  It worked just fine.  I haven't yet written code to write to the file so I've no idea whether I will get a problem.  I've since realised that this file is ANSI based so I saved it a Unicode just in case.  Obviously it doubles the size of the file. I'm going to be using a lot of text based files in this application (some rather large) and wondered if ANSI would ...Show All

  • Visual C++ How can I delay the execution of a C++ program?

    Dear All, I am writing a simple multithreading application and I would like to add or force execution delay for 5 seconds before the completion of a thread. So is there a Visual C++ command that could be used to delay the execution Regards Bassam killkenny55 wrote: i just tried that and it does not know what sleep does What do you mean To be a little bit more correct, Sleep quaranties that the thread will be suspended for at least the specified period of time. There is no quaranty that the thread will be suspended for exactly that amount of time. ...Show All

  • SQL Server Cannot create new or change existing subscriptions

    We are having problems when creating new subscriptions or when trying to edit existing subscriptions. When editing an existing subscription, the report manager displays "An Internal error occured" message and when I look in the log the error says Only members of sysadmin role are allowed to update or delete jobs owned by a different login When trying to create a new subscription the report manager displays "An internal error occured" and the log says System.Data.SqlClient.SqlException: The schedule was not attached to the specified job. The schedule owner and the job owner must be the same or the operation must be performed by a sysadmin. We are running sql reporting services 2005 sp1. The report server database s ...Show All

  • Visual Basic is there a way to modify code in vb.net on the fly when it is running?

    is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. Sharewareisland.com wrote: is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and hav ...Show All

  • Visual Studio Express Editions Can i use the .NET fw like this?

    Is there a way I can compile code without the visual studio, that is, writing code, then just using some kind of compiler (a bit like the compiler for java--"javac.exe") I am ok with non-object oriented programming. The .NET Framework has the C# and VB compilers, csc.exe and vbc.exe which can be used from the command line to compile code: you don't 'need' a development environment...(just like we don't 'need' the internet... ). However, the language (framework) is a bit more extensive than a straightforward procedural language, and designed for object orientated programming, so your best bet would be to start with one of the Express development IDEs then move on to manipulating the command line (compiler), to get the ...Show All

©2008 Software Development Network