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

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

ihar3d

Member List

Steveinbeloit
OPH
windpuffs
Denvas
ShadowRayz
Ceej100
Neal Sidhwaney
aoky
Rania171
Gloria123
tackett
Poma
Fritz Klein
KSpeed
Bland
vande013
Vijay Guru Prasadh
vannielou
NoEgo
edukulla
Only Title

ihar3d's Q&A profile

  • Visual Basic Inernet

    Using Vb, is it possible to download zipped files from a website, unzip them, and then use the files inside Steve it is. you can use either the ftp or httpwebrequest classes to take in the request, save the file then do whatever you want with the file. to extract the zip file, you can either "shell" it out using a 3rd party software or maybe use the Gzip classes/stream in .NET 2.0. here is a small example achieving the downloading of a file: http://www.codeproject.com/csharp/FileDownloadManager.asp gzip class: http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx hope it helps! ...Show All

  • Visual C# Modify the account for a Windows Service

    Hi, I've been asked to automate the installation of a legacy application. Part of the installation requires calling an existing EXE (not .NET, and no-one has the source code) that installs a service for the application. That all works fine. However, once the service is installed, I need to change the username and password that the service logs on as. Is this possible with .Net I can find no classes/methods that offer this functionality. I've tried to use p/invoke with ChangeServiceConfig from the Win32 API, but am not having much luck. Thanks Mick hi you can use 3 .net component to get full control of windows services. to add those component you should add components to your ...Show All

  • SQL Server Setting Global Variables in a Script Task, HOW?

    I'm playing (and trying to learn)... I have an FTP task in a for each containter and am setting the RemotePath using an expression (works great). Thought I could use this to start learning some of the scripting funtionality in SSIS (in a script task) so found some code in this forum (thanks Original Posters!) and tried my hand at some coding... Intent was to create a variable and then dynamically overwrite the Expression in the FTP Task from the script (I know I don't need to do this, I just wanted to use it for learning purposes).... I have a variable named varFTPDestPathFileName (string) and want to set it to the value of varFTPDestPath (string) + varFTPFileName (string). Note: all variables are scoped at the package level (could ...Show All

  • Visual Studio 2008 (Pre-release) XAML Browser Applications - Do they need .NET to be installed in the client machine?

    I want to develop a XAML application for my users to use through their browsers. Do they have to install .NET Framework on their computers What if I am designing a public website (say, web-site for a retail shop), how will .NET 3.0 help me develop the UI. Note: I am not talking about the back end or web-service design stuff here. just the UI experience Hi ___anshu, If you are developing a XAML browser based application (XBAP), your users must have the .NET 3.0  runtime components installed.  Could you please be more specific in your second question   I'm not entirely certain what you are asking. Is this answers your question, please select "Mark as Answer" Thank you, C ...Show All

  • Visual C# Using a C# dll with a VB 6 front end.

    Ok, so here is my question. I was trained in C++ and Java, and have taken to C# rather likeably. My issue is that I am currently supporting a custom internal app that is written in VB 6.0. The plan is to move the app to a ASP.Net 2.0 platform, and thus my question. If I started developing a library that I could use to fix some of the issues with the current program, and wrote them in .Net (2.0 likely), and compiled a dll, would there be an issue with using that dll and the methods within in a VB 6.0 application I'm hoping I can move some of the business logic out of the application, clean it up some, and make it so it can be consumed by the future version of the app at the same time. TIA! Thanks for the r ...Show All

  • Visual Studio Express Editions Embedded word templates

    I have coded an app that opens a word template, then populates it. I want to embed the file in the app so that it will be transferred during deployment. How do I do this, and how do I access the file once embedded Thanks DMan1, Not quite as simple as I had hoped for, but allright nonetheless. I've opted for just adding a folder to x:\Program Files directory and depositing the templates there. ...Show All

  • Visual Basic Invalid Database File Header

    I have an application which runs fine on the design station, but when installed on a non-design station Throughs this exception when attempting to open the SQL Database: The header for file 'C:\Documents and Settings\Administrator\PLDaq.mdf' is not a valid database file header. The PageAudit property is incorect. Cannot open database requested by the login. The login failed. Login failed for user File activation failure. The physical file name may be incorrect. I have insurred that the file name inside the connection string matches the physical file name, and I am using the logical file name and not the physical file name in the connection string, the data file is in the same directory on both machines. I have no idea wha ...Show All

  • Audio and Video Development Some questions about XAS file

    Hi All 1) Where in HD-DVD spectfication I can find something about work with XAS files I think that HD-DVD Spec contains not many information about it :( 2) Where I can find HD-DVD project sample with XAS files 3) Every XAS file must have own XMF file, doesn't it 4) How can I support 2 subtitles (with different languages, for example: en, fr) in my HD-DVD project Could you describe steps Peter Torr - MSFT wrote: [skipped] Ok, I knew it. I found answers for some my questions after some experiments. 3) Every XAS file must have own XMF file, doesn't it It's correct. I think so :) 4) How can I support 2 subtitles (with different languages, for example: en, fr) in m ...Show All

  • Visual Studio Querystring parameter for ReportViewer

    Hi folks How do i get my ReportViewer to accept a querystring as a parameter in the query Can you recommend any examples Thanks in advance ...Show All

  • Windows Forms Need some help with ColumnHeaders(Help Please Thxs)

    Here is the Code i have so far: public partial class Form1 : Form { ColumnHeader Header = new ColumnHeader(); } Now this is the part of code where i'm getting some trouble: private void button14_Click(object sender, EventArgs e) { Header = listView1.Columns.Add(, , "", 250); } The Section with the Comma's are whats giving me trouble...I get "invalid expression term" on the 1st Comma... In VB : Dim Header As ColumnHeader.. Now isnt Columns in the Code used instead of ColumnHeader or ColumnHeaders change it to Header =listView1.Columns.Add( "" , "" , 250); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dependent Content Builds with Custom ContentProcessor

    So I'm trying to understand how to customize the content pipeline by building my own content processor for a fictional filetype (.tlf). This filetype is merely a list of relative paths to textures separated by newlines. Unfortunately, the sample in the docs only shows how to make a custom processor for something with no dependencies. However, thanks to our good friend reflector, I came across the BuildContent api in the ContentProcessorContext class. According to the docs, it can be used to (for example) "replac e the original TGA file references with new references to the converted texture files". This seems like the perfect candidate ... however, I'm not really sure what to do with the returned ExternalReference object which ...Show All

  • Visual Studio Express Editions How do I into Sleep mode by VC 6.0

    I would like to into sleep state after program executed 5 secs later. I know the sleep modes are include 6 states that S0~S5. The simple information of these modes are show as below. S1 (POS) ==> Stop HDD and monitor power, but CPU and memory still alive. S3 (Suspend) ==> Stop CPU and HDD. Store data to RAM. S4 (Hibernate) ==> Stop CPU, memory, HDD. Store data to HDD. Now, I can control my program into S3 and S4 by "SetSystemPowerState". But I don't know how I can into S1 mode. Could you please give me some hint If SetSystemPowerState() or any APIs does not into S1 mode, could you please help me to close monitor and stop HDD Thanks, Rabin After ...Show All

  • Visual C++ Filesystemwatch

    To all, Does anyone know how Filesystemwatch is implemented in .NET I searched the open source and couldn't find the src code. I would like to monitor a file but do NOT want to load .NET framework and therefore is trying to find out how the framework implemented the logic. Thanks   nativecpp wrote: I would like to monitor a file but do NOT want to load .NET framework and therefore is trying to find out how the framework implemented the logic. I wouldn't know how the .NET framework does this, but one way to monitor the fs is through filter drivers. http://www.sysinternals.com/Utilities/Filemon.html  has a lot of good links on the subject, if you f ...Show All

  • .NET Development ShowHelp Localisation Question

    I have finished my windows form application, globalised and localised. That all works fine, but I have one remaining niggle. The main form has a HelpButton linked to the following Method: private void frmMain_HelpButtonClicked( object sender, CancelEventArgs e) { try { Help .ShowHelp( this , Properties. Settings .Default.HelpFile); } catch { MessageBox .Show( UIStrings .HelpFileNotFound); } The value in the application settings for HelpFile is something like 'applicationname.chm' and will be delivered by the setup (MSI) project associated with the solution and placed in the application folder. I have a Spanish version of the helpfile but dont know how to connect it to localised version. How can I make im ...Show All

  • Visual C# Bug in listview in VirtualMode windows Forms

    I want to create a listview in Windows Forms 2.0 with virtual mode. It works fine except a real bug. When I click an item in the listview in the event private void listView1_RetrieveVirtualItem( object sender, RetrieveVirtualItemEventArgs e) { } the e.ItemIndex is the number of VirtualListSize - 1 which in my case is 547. So VirtualListSize is 548 and the e.ItemIndex is 547. this is happening when I click any item in the listview like 2 or 3 or 12. What's happening It is a problem because: 1. The ItemIndex of the listview that I clicked is not the one that is comming in RetreiveVirtualItem 2. I use a Hashtable as a cache so that the listview will take its items in R ...Show All

©2008 Software Development Network