Answer Questions
lil_isie WMP10 SDK How to?
Hi, I have downloaded the Windows Media Player 10 SDK to add a video player, and I have no idea how to add it into my current project. I have downloaded and installed it to default directory and don't know what to do with it now. Plus the documentation on the Microsoft site is for VB 6 and talks about functions that have changed in the 2005 version. Could anybody help Hi, A quick search on http://msdn.microsoft.com will give you this: Usi ...Show All
Ian Heyns Calculations in VB
I am working on program for class and can't seem to get a calculation right. The output is to a listbox, but it gives me an elongated calculation like 3588.8812352367 and then gives the correct output right after $3588.88 ... but its all cramed together. Here is my code for the Loop and such: 'retrieve input intAmount = txtMortgageAmount.Text decYearRate = txtRate.Text 'get correct interest rate decYearRate = Va ...Show All
Krishnap Is this the best design approach for my new vb.net 2005 application?
I am in the process of converting a vb 6 application to vb.net 2005. My vb 6 application used quite a few user controls. The main screen was broken up into 3 sections that had a treeview on the left, menus/toolbar across the top and then a main section in the middle. As uses clicked items on the treeview, I would load the user control into the main section of the screen. I found the user controls much easier to work ...Show All
kalaria XML editing
When i try to use any of the XML editing functions within the XPath class i always get a method is not supported error. Why is this ' Load the document. Dim Doc As New XPathDocument( "Data.xml" ) ' Navigate the document with an XPathNavigator. Dim Navigator As XPathNavigator = Doc.CreateNavigator() ' Move to the root <Debts> element. Navigator.MoveToRoot() ' Move to the first contained <User > element. ...Show All
SuperFox Printing text at specific (x,y) on a pre-printed Invoice
I have a pre-printed Invoice and want to write a UI to grab user data (such as "Sold To" or Unit Price") and print that data at specific locations on the Invoice. Assuming I user Courier ( ) how can I specify the (x,y) coordinates, in inches, of where to print the various text items . TIA, Barkingdog P.S. I use VB.NET 2005 Have a loo ...Show All
Santosh Aher Suggestion for New VB Constructor Language Feature
Hi, When defining Attributes you can add properties as "Named Parameters". Why not allow us to do this in general in VB Class MyClass() Public Sub New(Arg1 As String) ... End Sub Public Property Property1 As String ... Public Property Property2 As Integer ... End Class ... E.g. Dim obj As New MyClass("Arg1Value",Property1="Prop1Value",Property2=12345) I know you can sort of ...Show All
TomyJack Automatically Force tableadaptor.fill command for access database
Im making a small app for internal use, that is based on an access database. It will be run on a terminal server with at most 3 people using it. They will probably want to use it at the same time. Does anyone know if it is possible to have a timer running in the program, that checks to see if the source database has changed (say the timer tick occurs every 60 seconds), and if it has, forces the table adaptors on the active form to run a fill ...Show All
Grant Archibald VBasic .Net Standard version and Win XP Home Edition
Hi everyone, I am begin to programmer in VBasic .Net 2003 standard version and my laptop with windows xp home edition, there are any difficult or troubles with this configuration I am going to develop application and ODBC to FoxPro database please help me to know if I need to upgrade somthing Thank you Jesus Hi, Yes you can install VS even without the presence of IIS. But if you want to develop Web-apps then you should connect to a web ...Show All
cajinamaster Type parameters cannot be used as qualifiers?
Hello, then i can't access shared members! I think it should be possible to access shared members of a type parameter class. Is there a possibility to do this Regards, Markus i needed it to let the base class do tasks for derived classes in a type-safety way. For safing coding amount. It is ok for me to access shared members through the constraining type itself. It was for something like this: Public Cl ...Show All
EBCIDIC C# fixed to VB
what would be the VB conversion for this fixed ( void * pxBasis = &modelRotation.M11) { fixed ( void * pyBasis = &modelRotation.M21) { fixed ( void * pzBasis = &modelRotation.M31) { UnsafeNativeMethods.Vector3.Normalize((Vector3*)pxBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Cross((Vector3*)pyBasis, (Vector3*)pzBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Normalize((Vector3*)p ...Show All
Daniel Leom 2005 .Net Nightmare
As a visB programmer who has been happily coding very successful applications for many years, I have been shocked at the verbose incomprehensibility of the .net framework. Where is the wonderful Basic language that has served so well for so long Is there a way to disable all the garbage in VisB 2005 in order to just write simple single thread applications in the Visual Basic language I have been unable to get even the simplest microsoft SDK exa ...Show All
stitch23 Inherit from class with same namespace
Is there any way to inherit from a class that exists in a referenced project and has the same namespace as the base class For example, lets say I have a class with namespace MyApplication.Common in MyApplication.Base.dll. Is there any way to create a class that inherits from MyApplication.Common and has the same namespace in a project that references MyApplication.Base.dll I was hoping that partials might help me out, but the ...Show All
Bene2005 Writtig a client server app
Hi can anyone help to explaim how to use the system.net.socket to write a two tie app. that is client can read and write to a sql2000 server with others at thesae time. And how to connect the two client/server application together. Any help will be appreciated thanks and God bless. Murtala Fastest in terms of development time yes, but xml web services are very slow in comparison to just raw socket communications. The serialisation's a big ...Show All
sepehr.Beigi Control to semulate LED
Hi, This is the first time I write in Microsoft Forums so I like to share some of my 'home made' controls Check out this control, it semulates LED, it's useful in desiging hardware automation programs, PCB semulators, .. etc. Just create a new 'User Control' and replace all code inside it with the following: Imports System.ComponentModel.EditorAttribute Public Class LED Inherits System.Windows.Forms.UserControl # Region " Windo ...Show All
TommieJ Writing to an excel sheet
Hey guys, I'm trying to write to an excel file from my program. I have a button and a text box. this is what I have in my button_click event. Dim G4 As Object wb = dlj.Workbooks.Open( "tx plan templates.xls" ) wb.Application.Range(G4).Value = txtName.Text dlj.Visible = True If I remove the middle code, the sheet opens up fine. I'm just trying to write to a specific cell in the excell sheet. s ...Show All
