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

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

Progalex

Member List

Ed Lewis
dakerson
kadabba
Jason D. Camp
bobbins
Mekki
NickNotYet
curtKauf
Steve Whitley
gcrain
Ramanuj
jwalker343
Ayala24
DayTrader
TiKu
OTNS
MaxL
dad26087
CharlieRussell
Darren.Sim
Only Title

Progalex's Q&A profile

  • Visual Studio Express Editions VB File.Encrypt method

    I am trying to encrypt a text file in VB 2005 Express and found a couple of pieces of code that demonstrate it. I have used the following Imports: Imports System Imports System.IO Imports System.Security.AccessControl I am calling the method with: File.Encrypt(FileName) where Filename has been DIMmed with "D:\EncTest.txt" I get an IO exception stating that what I am trying to do is not supported. Going through the help system, I was told that this means that my file system is not NTFS. Looking at the properties of my D: drive, it says it is NTFS. The text file is definitely there, named correctly and not in use by any other application. Is this something wrong with the way in which the path is express ...Show All

  • Visual Basic Newbie needs guidance on the next step past GUI--Importing Stock Data into App

    I'm taking a VB class for financial analysts, and we're tasked with constructing a progrm we can use on the job. What I'm trying to do is build a VB program that will take Stock and Company information from certain sites on the Internet and extracting that information into the program to do some research on a company before investing. I have some grand plans, but based upon what I have read/heard I'm starting by taking stock information from two websites (Yahoo Finance and Reuters) and populate several different tabs in this program I'm making (exporting to an Access database and Excel are also in the works, but I'm taking baby steps). I built the GUI with 4 different tabs that will house Earnings data, Trading Information, Company News, ...Show All

  • SQL Server Virtual Labs - Resources available?

    Hi Forum You can download a lab manual for the virtual labs. But what about the resources Does anyone know The remote desktop connection is too slow so I can't take the actual virtual labs. ..or it would take like 4 hours to run a 1 hour virtual lab. I have been lucky enough to find the recource files for .Net 3.0. So I could just run the labs locally. Is there somewhere where one can download the resources for the SQL2005 virtual labs (This is solutions, scripts and so on that is referenced to in the lab manual.) I'm looking for the one on Service Broker We don't cover the virtual labs in Books Online, but you can learn more and get them here: http://msdn.microsoft.com/virtualla ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PNG Alpha Channel

    I've imported a semi-transparent PNG to use for a sprite but the alpha channel isn't taken into account. It just renders as a fully opaque texture. How can I enable alpha channel support nobodyman wrote: Are you seeing this behaviour with all types of images, or just the PNG files I haven't tried any other types of images. I'll give it a try and see if I get the same problem. nobodyman wrote: Also, what image editing tool do you use Perhaps it's using a flavor of the PNG spec that xna doesn't grok. I created the image in Adobe Photoshop CS2. Is that supported ...Show All

  • .NET Development How do I display the Connection string builder dialogue?

    I know there is a way to do this as I've seen the code somewhere but cant find it anymore. Please help. that looks hopeful. I'll look in more detail later (actually I'm going away this w/e so it'll have to be next week now, too much packing to do and so little time!!) Thanks for now ...Show All

  • .NET Development Unspecified Error - when retrieving data from recordset

    I am writing a simple query in VB .NET using Visual Studio 2005. I trying to connect to Oracle 9i. using "Microsoft ODBC for Oracle" (2575.1117.00) MSORCL32.DLL 28/04/2004. The connection to dataserver is succesfull. Even I can run the following query succesfully: myCommand.CommandText = "select * from NLS_SESSION_PARAMETERS" myRecordset = myCommand.Execute   But when I try to run the following simple query, all I get  is "unspecified error" myCommand.CommandText ="select * from my_user_db.my_table" myRecordset = myCommand.Execute   Does anyone knows what is happening here Thanks Fede   zancraft wrote: I am writing a simple query in VB .NET using Vis ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D racer problem (collisions)

    Hi im trying to make a very very basic 3d racing game. Basically, ive spent hours trying to work out how to detect whether my rocket (the car) has left the side of the track or not. I cant work out how to properly use bounding boxes/bounding spheres in 3D and i dont understand how that would even work with a track with bends etc. Here is my source code for you to download and try and understand what I mean. Any help is really appreciated. EDIT - http://www.sendspace.com/file/6pcunk http://www.megaupload.com/ d=G6CLZF70 Or if someone could just explain how to go about working out whether the car has left the track or not What fuctions you should use or whatever. any help anyone Even if you could just te ...Show All

  • SQL Server How to set Multiple Active Results Sets (MARS) enable in ODBC

    hello all there can any body tell me how could i set the Multiple Active results Sets (MARS) option on/yes in case of the ODBC. The thing is i create the connection using the SQL Native(sql sqrver-2005)wizard, i got following when create the DNS Microsoft SQL Native Client Version 09.00.1399 Data Source Name: DM_N Data Source Description: Server: vsnet1 Use Integrated Security: No Database: DM Language: (Default) Data Encryption: No Trust Server Certificate: No Multiple Active Result Sets(MARS): No Mirror Server: Translate Character Data: Yes Log Long Running Queries: No Log Driver Statistics: No Use Regional Settings: No Use ANSI Quoted Identifiers: Yes Use AN ...Show All

  • Windows Forms Databinding to textboxes on form using SQLExpress

    I am having trouble getting table data from my SQLExpress connected databases to bind to the textboxes in my form. I can perform a grid view of the tables data just fine. Any suggestionson what am I missing in the form design here is a small demo hope help you using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; namespace WindowsApplication2 { class DBAccess { public DataSet getData() { SqlConnection conn = new SqlConnection ( "Data Source=(local)\\sqlexpress;Initial Catalog=Test;Integrated Security=True;Pooling=False" ); conn.Open(); SqlDataAdapter da = n ...Show All

  • Visual C# Which is better?help

    i'm currently developing a Multiple Choice Question(MCQ) application in C#, where student can practise their lesson & participate in an test exam. The test exam will be generated page by page. In each page there will be 2 questions(read from database); there may be more than 100 questions. So tell me which one is better: 1) predefined form for each two questions( it will take 50 forms) 2) forms & control will be generate at runtime 3) A predifined form + only generate necessary controls(Label, button etc) at runtime Please Help & Encourage Me. what I don't see is why you would need 50 forms it would seem to me that you can do it with one form without dynamic control placement . ...Show All

  • Software Development for Windows Vista How to define workflow data by usind GUI?

    Greetings, I am a beginner in the field of WWF. I am about re-hosting the designer in windows application. The end-user will take the responsibility of designing the business process. but I need your help. I got some questions: t When I tried the re-hosted lab. The program doesn't allow me to rename the workflow and an error massage appeared and stop execution at this point public void UpdateTypeName( string oldClassName, string newClassName) { a throw new NotImplementedException (); } t I want the user to be able to define parameters (variables to be used within workflow) for all workflow at the beginning then he can assign each properties to the co ...Show All

  • Windows Live Developer Forums Navigate freely through IFrame element in activity?

    I have read some articles about the activity,Activities we made must be posted to gallery to review. If I used IFrame in my activity,and the content or the URL in IFrame are stored in database and will be read while activity is running. I want to ask this is legal or illegal. If this is legal,then I am confused why our activities must be posted to you,because we can place anything in our database as we like,MS only checks the skelton but not flesh. If this is illegal ,how do I do to navigate many pages in activity's little window. I would assume that this would be ok. The reviewers can't possibly test all permutations of input into the activity window, so I assume that they will test as mu ...Show All

  • Software Development for Windows Vista Problem with BindToObject

    Good evening. I had made a little console application that ran a filtergraph for a webcam. It worked fine until we tried to get it working with a GUI and this whole "managed" code thing. I have a class that enumerates all of the video capture devices and tries to return the first one. BindToObject does not return 'gottafilter'. It's just empty. I can see my webcam in the devices array. After much searching on the Internet I am still clueless as to why this does not work. Any help or alternative methods will be appreciated. Below is my code: Note: Have included DXSDK, WindowsSDK (just in case) libraries and includes. HRESULT GetVideoInputFilter(IBaseFilter^% gottaFilter ) { array <DsDevice^> ^devices = Ds ...Show All

  • Visual Basic [OTP] Trimming a Path in VB6

    I need the code to trim this path to just get the filename Example: "C:\My Documents\Book.doc" How do i return just "Book.doc" An answer or code would be appreciated. Thank you Note: I have Visual Basic 6.0 Pro I'm sorry Dan, but these forums are for .Net questions only. You may want to try here for more information: http://msdn.microsoft.com/vbrun/ ...Show All

  • Visual Studio Express Editions spellchecker?

    I want to make a spellchecker for a program of mine.  I did a search of the forums and found some code.  I slightly edited it to match my individual use and apparently did something to it to make it not work.  because it ended up throwing the exception and I KNOW I have MS Word. This is the code I used:  Function spellcheck( ByVal text2check As System.Windows.Forms.RichTextBox) If text2check.Text.Length > 0 Then Try text2check.SelectAll() ' Copy everything from the richtextbox to clipboard text2check.Copy() ' Make a Word server object. Dim word_server As New Word.Application ' Hide the server. word_server.Visible = False ' Make a Word Document. ...Show All

©2008 Software Development Network