Steven Twitchell's Q&A profile
Visual Basic Interface
Hi I have an applicaion made upof many classes, some of those implements custom funciton. Until runtime i would not know if the class implements that function function ---------------------------------------------- public class myclass implements mycontrol,iLog public function LogIt()as Boolean End Function End Class ---------------------------------------------- public class myclass2 implements mycontrol, iLog public function LogIt( ...Show All
Visual Studio Express Editions Translating Basic into SQL starments
I was wondering can VB get into a SQL database ok If so I wanted to be able to do something thats easy to do in VB, but I am new to SQL. That SQL tutorial is way too fluffy, better would be the Bachus-Naur syntax statements to get exact syntax and then I can look for the methods I need. SQL is pretty verbose. My view is, how hard can it be, now that I see the balance of parentheses I can fix sicko methods easy enough. SQL does not come a ...Show All
Visual Studio How to fill custom properties dynamically with model information at runtime?
Is there a way to fill custom properties with model information at runtime For example, instead of defining an enumeration at design time with hard coded values "One" and "Two", I would like to generate the enumeration values dynamically at runtime based in values defined somewhere in my model. So I'd say something like "this enumeration shall contain all properties values of all value properties in domain call A and B". In consequence, if the ...Show All
Windows Forms "Click Once" queries
Dear All, I have a few questions regarding Click Once: 1. Does it support Non .net Active-X Controls in WinForms 2. Does it allow pre-compliation 3. Is there a w ...Show All
Visual Studio Express Editions Error .exe is missing question
I'm geting the error messege "Video Studio cannot start debugging because the debug target 'C:\\documents and settings\name\local setings\application data\temporary projects\ConsoleApplication1\bin\debug\consoleapplication1.exe is missing. Please build the project and retry or set the outpath and assembly name properties appropiately to point at the direct location for the target assembly." when i try to run a simple hello world progra ...Show All
SQL Server Using Blobs in database
We are building mostly read Real estate web site where there are many pictures what users will see from their browers.We have come up with 3 ideas.But we need help,is there any alternatives to these. 1.Put them into the database we are using . 2.Seperate the images to another instance and record images to that instance . 3.Use the filesytem. What is the best way of storing and retreving images for a concurrent web application ...Show All
.NET Development oracle varchar column truncated on executing stored procedure
Hello everybody, I am using a stored procedure in oracle database to update the columns of a table.Following is the listing of the stored procedure: CREATE OR REPLACE PROCEDURE usp_Boundary_Update ( IDBoundary IN INTEGER, BoundaryValue VARCHAR2 ) IS BEGIN UPDATE TBLCI_DM_BOUNDRIES SET BOUNDARY_VALUE = BoundaryValue WHERE ID_BOUNDARY = IDBoundary; END usp_Boundary_Update; I am trying to execute this procedure by using the .net provid ...Show All
Visual C# How to get USB Bluetooth Adapter information ?
--Dear All, Using WMI, I managed to get information about device ID and manufacturer of my USB Bluetooth adapter. However, I CANNOT GET Blueooth Device Screen Name ! ------------------------------------------------------------------------ (I tried with many diffrent WMI classes by the follwing code foreach(ManagementObject mo in new ManagementClass("Win32_PNPDevice").GetInstances()) { ProperyDataCollection.PropertyDataEnu ...Show All
Windows Forms Show beyond the Form
Is there a possibility for a control which is located for example in the right bottom corner of a form to show fully instead of being cut off with the form's border when the Form is not maximized Have you ever noticed what happens when you right-click on your desktop way down in the bottom right-hand corner The context menu doesnt come up with its top left corner where you clicked, like it normally does. Instead it is repositioned to make ...Show All
Visual Basic DLL PRoblem
Hi All, I'm newbies to create DLL file. I have wrote a custom class file, and I compiled it as a DLL. However, I just couldn't get it register with regsrv32. And I couldn't import or add this dll as a references to MS Access as well. Can anyone give me some idea on what's the basic step we have to do in order to create a Dll file and use it in MS Access REgards, silkkeng Hi, Where did you create this dll If you created this on .net you c ...Show All
Visual Studio Breakpoints stopped working
All of a sudden some breakpoints in my solution stopped working. The tooltip displays the following error message: "The breakpoint will not currently be hit. The source code is different from the original version." I rebuilt the solution; deleted /bin and /obj directories of the project in question; restarted Visual Studio; all to no avail. Any hints what might cause this, and how to solve it I'm using Visual Studio 2005 Professional Editi ...Show All
.NET Development Can someone point me in the right direction.
I have done some training with web Applications. I am starting to get fluent with connecting to Database's without a problem. The Project that was developed was in VB.NET with Visual Studio. I have limited work in VB.NET. As I have said, I am training, and my company would like me to take the software a bit further. Currently the application is a GUI for a SQL Database via a local machine. I've learned a bit about ASP and ...Show All
Microsoft ISV Community Center Forums Tic Tac Toe Game
Hello there, Do excuse me but I am new to programming. Yes I realise that will annoy most of you but I am in need of some help. I am about a third of the way through the program and have got stuck at the creating of lines. I am able to put lines in horizontally and vertically but when trying diaogonally it seems almost impossible. I am using the Visual Basic 2005 Developers Edition (The free one off Microsoft). I just cannot seem to find t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. AudioVideoPlayback
Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All
Visual Studio Express Editions Problem with reading (*.doc, *.rtf and *.txt) Files
Hello, I have a problem with reading files the problem is : I`m using IO history to read *.txt files in textbox but it cannot read some languages like Arabic I`m using this code to read StreamReader files = new StreamReader (openFileDialog1.FileName); tmpbox.Text = files.ReadToEnd(); files.Close(); it reads all files correctly but not Arabic files ================================= Second part with RichTextBox: I ...Show All
