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

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

Josibe

Member List

Michael Hecht
GaryMcC
jlchx
AshokKumarTD
wiresfired
giarnz
dbabe13
Fenghus
Fusion1224
Quilnux
ULeas
Butterflyangel02
Long Xue
Visware
gregaug
PremZ
Dietz
SSAS
CJKeatley
flash.tato
Only Title

Josibe's Q&A profile

  • .NET Development C# WMI Win32_EncryptableVolume Vista

    Am trying to get all encryptable volumes and then invoke methods through WMI. Here is the code causing problems: ManagementObjectSearcher oSearcher = new ManagementObjectSearcher("SELECT * FROM Win32_EncryptableVolume"); ManagementObjectCollection oReturnCollection = oSearcher.Get(); if (oReturnCollection.Count > 0) { foreach (ManagementObject oReturn in oReturnCollection) { Console.WriteLine(oReturn["DeviceID"].ToString()); Console.WriteLine(oReturn["PersistentVolumeID"].ToString()); } } When the debugger gets to: foreach (ManagementObject oReturn in oReturnCollection) I get an Invalid Class error. Any help or examples would be appreciated. Pleas ...Show All

  • SQL Server How to read sql tasks and so on from a package programmatically??

    Hi everyone, Once I've accesed to package by means of LoadFromSqlServer method how to read its Sql Tasks, for example I'm trying with the Executables property but unsuccessfully results: pkg.Executables.Item(0) Thanks in advance, No, not all. I think that I wrote my post a little bit confused. I meant, how to see/read the properties for a Sql Task, as SqlStatement, Sqlsourcetype... I receive this: {Microsoft.SqlServer.Dts.Runtime.Sequence} Microsoft.SqlServer.Dts.Runtime.Sequence: {Microsoft.SqlServer.Dts.Runtime.Sequence} Thanks again, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how do i creat an .exe game file in XNA game studio express?

    how do i creat an .exe game file in XNA game studio express ive tryed every thing but i cant work it out!!!!! Why what problems are you facing. When you compile an application in the Express system it will create a directory in your project called Bin inside this there will be a debug and release directory, Your exe is located in these directories. One is compiled in the debug mode, and the other is compiled in release mode. Remember that if you do wish to publish this exec you can only use the click once system or a third party product to build the setup program. But you can package the application up and use the xcopy method. Also the client machine must have the xna express system installed, ...Show All

  • SQL Server Problem connecting from other PC in network

    Hello all I am new with SQL server express 2005 and i dont know what i am doing wrong. I have an MS access database want to migrate to the SQL server. Wizard upsize looks okay so it works on my local machine in the network. The application stays in MS Access but the data goes to the SQL server. On my server i enabled tcp/ip and pipes and i opened the firewall for SQLSERV and SQLBROWSER. I installed the SQL Native Client and not SDK on the other computer in the network. When i try to make a connection with the native client in the ODBC manager it goes wrong. I dont know what i do wrong. Patrick hi, try using the SQL Server Surface Area Configuration, "Surface Area Configuration for Services and C ...Show All

  • Visual Studio Referencing Domain Classes from Domain Properties

    Greetings - I'm building a DSL and I've got a question. Once in the DSLs designer, for a specific property on an instance of a Domain Class, I would the property to provide a *filtered* selection list of other instances of Domain Classes. For example, if I have a instance of a Domain Class named "Attribute" and it has two properties, one is "Name" and the other is "Type". I might set the "Name" property to "HomePhone" and the "Type" property to "PhoneNumber". I want the value "PhoneNumber" to point to some other instance of a Domain Class named "PhoneNumber". Basically, I want user to be able to create a diagram that models their business objec ...Show All

  • Windows Forms Change name of Form1, no design view.

    I created an application that created 'Form1' by default. I renamed Form1 to jpd7main and compiles ok, runs ok. I closed the design view for 'jpd7main' and now I can't open it in design view. Still compiles and runs ok. I even added another form, which I can see in design view. In the explorer window, the new form has a form icon next to the .h file whereas the 'jpd7main' has a header/code icon next to the .h file. Any help would be appreciated. Thanks I don't know how to interpret or correct this, but I have another form in this app. and the solution explorer show it's resource file linked to it's header file. The one I changed, jpd7main does not show it's resource file linked to it. It appear ...Show All

  • Visual Basic Find all JPG and Convert to TIFF

    Hello Everyone, I have a folder which it have about 200 files of both JPG and TIF format. I want to write a application that loop to that folder and find all JPG file and convert it to TIFF but I don't know where to start. Can someone help or point me to any thread that could solve my problem Thank you Something as simple as this seems to work ok. Dim I As Image For Each Filename As String In My.Computer.FileSystem.GetFiles("d:\temp", FileIO.SearchOption.SearchTopLevelOnly, "*.jpg") I = Image.FromFile(Filename) I.Save("d:\temp\" & IO.Path.GetFileNameWithoutExtension(Filename) & ".tiff", System.Drawing.Imaging.ImageFormat.Tiff) Next ...Show All

  • Visual C# Database in VS.NET 2005.

    hello, I am new to VS.NET 2005 and C # programming. I have been searching around to figure out how to work with database. in particular MS access. However almost all the articals i ran into talks about 1) dataset 2)dataadapter 3)datasource and how to manually declare them and deal with them.   Now a few articals i found in VS.NET 2005  tell me to get started by clicking on the data  -> showdatasource-> add new datasource etc. after that go to toolbox and add bindingdatasource object on form, but it gets all confusing.  My current problem is.. combobox. I am displaying a certain colomn of a table and returning certain value when selection is made using value member. However I need to access ...Show All

  • .NET Development Run application as user

    Hi, I'm writing a web service where one method will launch another .NET program under a specified users account. It launches fine as the NT AUTHORITY\NETWORK SERVICE user when I dont specify a username/password for the processStartInfo but I am having trouble getting it to work when I specify any other username/password pair. I immediately get "The application failed to initialize properly (0xC0000142). Has anyone ever gotten this to work using Process.Start/ProcessStartInfo Note I do *not* want to impersonate the client nor have any of the other code run during the processing of the request run using any credentials other than NETWORK SERVICE, just the third party app I want to launch and get the stderr/stdout streams back f ...Show All

  • Microsoft ISV Community Center Forums Userform Controls

    I have created a data request form for the company in Excel. The form has quite a lot going on (e.g. frames, option buttons, tick boxes etc). I've created all the necessary code and event handlers so that the form behaves as it should. In an attempt to record the user's input, I've then gone on and written a bit of code, which executes when the user clicks OK after completing the form. This bit of code loops through each control on the form and, depending on the control type, writes its caption or value to a blank spreadsheet. The issue I'm having is the order in which it loops through the controls. The tab order for the whole form, including that within frames, is spot on, yet this bit of code loops through some of the controls in ...Show All

  • Visual Basic VB .net tab control multi line...

    Ok, I am creating a new version of a program in vb .net. The main page has a tab control with 7 tabs on it to select your general category. However, the two word text does not always fit on these tabs. I want the text to wrap instead of just going out of view off of the tab. However, there is no wrapping option or way to get the text on multiple lines(like there was in VB 6), except for forcing it by inserting a new line character into the text. But if I do it that way the text is no longer vertically OR horizontally centered and looks very bad, and is plainly unacceptable. So, is there any way to get the text on multiple lines on the tab control I have been looking everywhere for this option and it is simply not there. Thank you. ...Show All

  • SharePoint Products and Technologies How to register an event handler declaratively by content type?

    Hi. everyone. I'd like to register an event handler declaretively by content type. According to a paragraph of   this article , it seems to be possible, but i don't know how to do this.  Declaratively by content type, for example, to register an event handler for all documents of a specific type. Within the XML for a content type definition, you can register event receivers. I created two content type named ct_a, ct_b, and I derived them from document content type. ct_a and ct_b had a event handler respectively and  were associated with a list named list_a. What i want to know are how to associate a event hander with a content type and how to activate them. Thanks for in advance.   ...Show All

  • Windows Forms DeployVB Application

    I would like to deploy a VB 2005 application that will run from a CD ROM without loading anything onto the user's computer. I would like for the user to plce the CD ROM in the CD Drive, navigate to the start Icon, click it, and run the app. I do not want there to be any upload to the user;s computer. Is there a way to do this without loading .NET or any other file to the user's computer Or you could write an application in something like C++ that is not dependent upon the .NET framework. You would be surprised at how many users worldwide have a version of the .net framework installed on the machine - as it does go out as an optional update in windows update and with Vista the .NET 2.0 framework will be installed from the outset w ...Show All

  • SQL Server Incrementally processing "new" files

    Hi, I'm just starting to learn SSIS and would like some advice on how to handle something I encounter frequently. I often have to connect to a remote FTP site which contains a large number of files. Each day a number of files are added (old files are not purged). So each day I need to download all files which have been added since last time I checked, store on a file server, then load to a SQL database. I've written a DataFlow using a script which generates a list of files and dumps to a raw file and doing the same for FTP directory listing wouldn't be too hard - I could then feed these into a third DataFlow to work out what the new files were, then a third to download the files to a temp directory etc. But is there a cleaner way ...Show All

  • Visual FoxPro MySQL and VFP

    Hi experts. I have a MySQL database. I operate with them using syntax like SQL(sqlhandle, "select * from...") I copy them into cursor and than operate with a cursor. Is there a simplier way how to work with them Thanks in an advice. MSSQL server 2005 express version (SSE) is available for free from Microsoft. Check msdn.microsoft.com/express. You can even download other express versions from there for free (C#.Net, Visual web developer etc). You can also find some free hosting providers with SQL server and .Net support. ...Show All

©2008 Software Development Network