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

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

tass_flint

Member List

Richard Kallay
MeetJayBlack
Australian Sewing Machine Co.
Hobbit666
pmak
oolon
Phan
Tommych
Garyon
MagedSalah
Kyong Kwak
.NETPhreak
Venkatram
Burr Sutter
Ely Spiegel
Damien White
Frank Uray
rroutray
John24
Radeon512
Only Title

tass_flint's Q&A profile

  • .NET Development returning fields from SWbemObject

    Hi there, I am using WMI to send a WQL query to an SMS server and retrieve information on systems on our LAN. I am working on a .net application to display the results of these reports. I am able to return an SWbemObject with the results of the query. In order to access items in the object I use code like this: Dim objResultSet as SwbemObjectSet Dim objResultRow as SWbemObject < CODE THAT CONNECTS TO SERVER AND EXECUTES QUERY > For Each objResultRow In objResultSet objResultRow.SMS_G_SYSTEM_CDROM.DESCRIPTION Next The problem with this is that I want to be able to return the field value, without hardcoding the field name. something like dim fieldName as String fieldName = "SMS_G_SYSTEM_CDROM.DE ...Show All

  • Smart Device Development Biometric finger print reading codes in VB

    Where can i find code on biometric reading in VB If there are samples, they would come from device manufacturer. ...Show All

  • Internet Explorer Development ActiveX Modal Dialogs do not work in IE7

    Our product is suffering some pretty severe problems because of IE7. We've starting getting calls that dialog windows become hidden. We've heard this is a threading issue. We found out that the problem is actually much worse. Modal dialogs don't seem to function correctly in IE7. You can recreate the problem using VB6 by doing this: 1. Create an ActiveX UserControl project. 2. Add a form to the project (form1) 2. Put a button on the user control (usercontrol1). 3. Add this code to usercontrol1. Private Sub Command1_Click() Dim objForm As Form1 Set objForm = New Form1 Call objForm.Show(vbModal) End Sub 4. Build the project as an OCX somewhere on your hard drive. 5. Find your control's CLSID in regedit. I ...Show All

  • .NET Development class Thread Safety

    Hi all, I saw has the class in MSDN to be thread safety---" Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe. ".For instance said the FileStream class is this. If I operate a file in the Server end with the FileStream class, whether only needs it to put in static method may guarantee under the multiuser scene does not make a mistake thanks. Hi, It is not what it means. The statement means that if you call any static method of the class the designers had guaranteed that the call will be thread safe. If you check the static methods of "FileStream" you will get (ex: Synchron ...Show All

  • Visual Studio Express Editions DHTML controls

    how do i get the copy, cut and paste controls to work with the DHTML box jenx222, What is the copy, cut and paste control in your project Are they list in VB Express Edition toolbox Please make your problem specific and just tell me what is your DHTML box In order to implement the above function you mentioned, you can write some certain javascript code for each of the functions. However, I don't think you need the javascript code in this question. One more thing, could you tell me something about your project, or what do you really want to do in VB Express Edition Waiting for your reply :-) ...Show All

  • Visual Studio Express Editions Next Image In Folder

    Hello, I have a form with 2 buttons on it and a MenuStrip and a picturebox. The menu strip allows the user to open a image using OpenFileDialog and display it in the picturebox. Now what I want to do is when the user clicks on button1 the picturebox will display the next image in the folder where the initial image was loaded from. And I want button2 to do the same except it will display the previous image instead of the next. Basically I'm wanting it to do what Windows Picture and Fax viewer does when you click the blue arrows along the bottom. If you need more info let me know. Any help would be great Thanks in advanced b0bd0gz Something like the following may get you going. Public Class Form1 Di ...Show All

  • Visual Studio Adding an intellisense/snippet popup control to the code window

    I have a managed package that I'm working on that will display and manage your clipboard history. I'm trying to add a feature where when the user presses a keyboard shortcut, a popup list control (just like intellisense/code snippets look like) populated with list items representing their last 5 clipboard entries. I've not been able to locate an example or sample code demonstrating how to create that type of window border or how to implement this control/window into the code window, such that when you scroll or resize the IDE, the popup window coordinates stay relative to the code window. Is this even possible If so, can you point me in the direction of an example Cheers, Bobby Perikles, This was exactly what I needed. You did a gr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. So how does this (non)commercial business work?

    Can anyone please enlighten me on how this all will work. How I see it, there are two points for having XNA. 1. To let gamers make Xbox 360 non-commercial games freely to play on their own consoles. 2. To let gamers make Xbox 360 commercial games that they may transfer over live. But can we sell these games & start a business And where do our limits end & then begin again with Pro I have been trying to start a video game business for years now, working with teams and software, and Microsoft XNA can be a new pedestal for my team and business.   Thanks in advance. Right now with the announcement that has been made XNA Framework isn't really designed for you to run a business ...Show All

  • Windows Forms Printing - Using printDocument

    Hi everyone, I'm creating an application which has to be able to print a dynamic panel on a form. The panel can contain textboxes images listviews... The solution I've tried, which didn't work, was: Convert the panel with all it's controls to an image Dim oBitmap As New Bitmap(pnlTarget.Width, pnlTarget.Height, 0, Imaging.PixelFormat.Format32bppRgb, 0) pnlTarget.DrawToBitmap(oBitmap, New Rectangle(0, 0, pnlTarget.Width, pnlTarget.Height)) e.Graphics.DrawImage(oBitmap, 0, 0) And then printing the document PrintDocument1.DocumentName = "Paint Sample Management - " & oSelectedLayout.Name & " (" & oSelectedStaal.McCode & ")" Dim oSettings As New PageSettings() Dim ...Show All

  • SQL Server select query based upon results of another select query??

    Hi, not exactly too sure if this can be done but I have a need to run a query which will return a list of values from 1 column. Then I need to iterate this list to produce the resultset for return. This is implemented as a stored procedure declare @OwnerIdent varchar(7) set @OwnerIdent='A12345B' SELECT table1.val1 FROM table1 INNER JOIN table2 ON table1. Ident = table2.Ident WHERE table2.Ident = @OwnerIdent 'Now for each result of the above I need to run the below query SELECT Clients.Name , Clients.Address1 , Clients.BPhone, Clients.email FROM Clients INNER JOIN Growers ON Clients.ClientKey = Growers.ClientKey WHERE Growers.PIN = @newpin) '@newpin being the result from first query Any help appreciated ...Show All

  • Visual Basic Program Execution Speed

    How can i measure how long each part of my program takes to execute, so i can know where the slow parts are I am trying to find out what parts of my program are slow so i can make them faster. Private Sub Test () Dim StartTime As DateTime = Now 'DoSomething Dim ExecuteTime As TimeSpan = Now . Subtract ( StartTime ) Debug . Print ( ExecuteTime . ToString ) End Sub ...Show All

  • .NET Development Adding shortcut key to TabControl

    Hi guys, Greetings! How can I add shortcut key to TabControl Pages. Let say I have two tabs. Tab1 has the label Supplier then Tab2 has the label Product . I want to assigned shortcut key to Supplier Tab and Product Tab. Let say F2 and F3 or which is advisable... Please do aware that I uses Alt-key to other buttons inside each respective tab. Like &Save, &Cancel, &New etc... Thanks, Beast Forever I think the Wizard in VS.NET 2005 will do a master detail form. Just go thru the wizard and select the two tables you want to use and it will detect the relationship and try to build a master detail type form (I think). ...Show All

  • .NET Development Better way of removing commas

    Here is the situation, using C# and VS2005, one has a string that contains a number. Unfortunatley the originator of the string is ouputing commas within the string such as "1,234,567.89" What is the best way to strip commas from a string Below is a method I have come up with that seems like it is overkill... Can it be replaced with an easier, meaning less code on my side, way of doing it advTHANKSance TextBox1.Text = TextBox1.Text.Replace( "," , "" ) It replaces comma(,) with nothing. ...Show All

  • Windows Forms host usercontrol on a modal child form?

    I just set the Mainform's 'IsMdiContainer' property to true but when adding the following code to a tab controls selectedIndex changed event, the form does not appear. Any ideas Can I do this (successfully) Can I simply change this formerly NonMDI app to on that supports modal forms thank you. -greg NewMDIChild.Controls.Add( Me .UserControl) NewMDIChild.Location = New System.Drawing.Point(100, 100) NewMDIChild.Size = New System.Drawing.Size(400, 200) NewMDIChild.Visible = True NewMDIChild.TopMost = True NewMDIChild.Show() Yes, that seems like a better idea. You could also use a non-MDI approach (a regular, non-MDI-parent form as your switchboard, with all other forms also regular ...Show All

  • Visual Studio SP1 for VS2005 doesn't update VSS2005, although it should.

    According to http://support.microsoft.com/kb/918526/ several fixes for Visual Source Safe 2005 should be included in Sp1 for VS 2005. But after installing the Sp1 I still have the RTM files of VSS 2005. What went wrong while installing SP1 Hi Stefan, although I'm german I prefer the english version. I installed the VS, later VSS 2005. With the release of the SP1 installed it, but the files from VSS 2005 are still the old RTM ones. Did you trie to install the Sp1 one a machine with only VSS 2005 installed ...Show All

©2008 Software Development Network