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

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

Alois

Member List

supagu
LastHope
Marc Jones
nate-d-o-double-g
treegum
Tom Janssen
shahrul
Nick Palmer
Pavel Nechai
Rahul Garg
sapo
flarmon
Manish 3177
Sanje2v
direwolfe
Tibia Rules
Madok
Thomas Greenleaf
Kamii47
Daniel Hawkins
Only Title

Alois's Q&A profile

  • Software Development for Windows Vista Sample Grabber misses samples

    Hi All, I'm struggling to work out why the sample grabber sometimes misses samples. I have a filter graph which consists of a DV camera as source, dv splitter, dv decoder and a sample grabber on the video chain through to a video renderer, and the audio chain terminates in a null renderer. I'm using the sample grabber's buffercb method, which includes a double SampleTime parameter. I write a simple callback which basically divides this double value by 0.040 (my video is 25Hz, 40ms/frame) to get a frame number. I'm then just storing this frame number in an array. I'm not doing anything else in the callback, so it's very lean and mean After ~50 minutes of video, I dump the array contents out so i can analyse what frames i receive ...Show All

  • SQL Server protected sql database file

    how can I create sql database file and it cann't be use or open (open mean to design view or structure) . my case is: I have Acces db and this db has its own username and password, no body can read, write or view the designing, so it is useless. But there are somesoftware able to break and hacking db access. I think sql database file is more secure, so how can I do it Hi, sp_changedbowner HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development problem to access web services via isa server

    Hi, I have the problem to access web services. The machine is behind the ISA 2000 server. When I try to add web reference, it will pop up the screen to enter the username and password. However, I enter the the username and password for our domain, it comes up the following message "The request failed with HTTP status 403: Forbidden ( The ISA Server denies the specified Uniform Resource Locator (URL). )." Should I configure the ISA to allow the traffic or Can I program the system to invoke web service via our proxy server. Advanced Thanks for people who replies. Cheers Fazul hi i am new to web service can u please guide how to create a proxy class using wsdl.exe the exact problem is i have already hosted the webservic ...Show All

  • Visual C# Stupid question....

    I want to include a reference to a C# module in my project but I dont want the module copied to the project folder. I did this once and I cant remember for the life of me how I did it. The module is one where I want to store functions that will be shared between multiple projects and I want it kept in one place only for obvious reasons. If anyone can tell me how go about doing this I would be much obliged!! im not sure but I will give it a shot. If you add a reference in your project then select that file you just added and in the properties of that file in the IDE, be sure that the "Copy to Output Directory" property is set to Do not copy. is this what you are after ...Show All

  • .NET Development How to add a SOAP header to a SOAP meesage?

    Hi From a VB.NET client i call a (non .NET) webservice using a given WSDL file. To this message i want to add an Header element with a certain value. I got some example code in JAVA, but do not know hwer and how to inplement, // Construct the header QName headerName = new QName(" http://ech.client.nl/vendor ", "Vendor"); SOAPHeaderElement headerElement = new SOAPHeaderElement(headerName); headerElement.setValue("ECH Gui"); headerElement.setMustUnderstand(true); try { Message message = arg0.getCurrentMessage(); message.getSOAPHeader().addChildElement(headerElement); } catch The headerelement must have th ...Show All

  • Visual Basic How to erase the first line in a image?

    I have drawn some lines on a image(for example a map ),now i want to erase some of those lines .How do I do so that i can not left the mark .(i have to cover the line with background color that i want to remove ) One way might be to create a collection that you add each line to as it's drawn to the image. Also keep a copy of the original image (before any lines were added). Then if you want to erase a line, you can remove it from the collection and then recreate the image by taking the copy of the original and drawing all the lines that remain in the collection to it. ...Show All

  • Visual Studio Express Editions listbox oadate format

    VBEXPRESS: I've got a list of calendar dates in a listbox. When I sort it, it sorts illogically, due to the 1/2/2006 vs 11/12/2006 for instance (no leading 0's on "single date" numbers). I'll need OADate anyway, so I'm trying to do a: Dim n As Integer = 0 Dim dateShown As DateTime = CDate (ListBox5.SelectedItem) For n = 0 To (ListBox5.SelectedItems.Count - 1) ListBox5.SelectedItem = dateShown.ToOADate() '.ToString Next I can't seem to understand how to utilize the code to take each dated item in the listbox5 and change it to a OAdate item. Can someone point the way Umm, prolly not. OADate is an ancient Date format, going back to bad ole' days of COM. Back then, it used to be a floating ...Show All

  • SQL Server Install SQLServerExpress Advanced Service with Visual Studio Express

    hello, i’d like to work with (first learn ) all features of the SQL Server Express Advanced Service and Visual Basic 2005 (incl. Connect SQL Server databases from Visual Studio/ VB2005). Before I’ll make a mistake with the install (the numerous versions make me confused) I’d like to ask you which is the correct way to install both : 1) Should I first install SQLServer Express Advanced Service and then Visual Studio (Visual Basic without SQLServerExpress - if it’s possible switch off this compound) or 2) Install Visual Studio Express (I’ve got the DVD from Microsoft) with (or without ) the SQLServerExpress Edition and then upgrade to the SQLServer Express Advanced Service by starting the SSE Advanced-Service setup-file thank you very much ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Revision Control included in XNA?

    I heard XNA will include some sort of Revision Control, some kind of Perforce or SubVersion directly included in the package. Can someone confirm that Source control is not a part of the Express family of products, including XNA GSE. I use Vault myself (that's not an endorsement, even though I really like the product). You could easily use WinCVS/Subversion/SourceSafe/etc. Personally, and I know this is wierd, I'm not fond of "integrated" version control in my development tool. That's probably a holdover from my old SCCS/RCS days in the early 80s ...Show All

  • .NET Development XmlDocument System.Net.WebException Error

    Here is the code that I have: rssReader = new XmlTextReader( file ); rssDoc = new XmlDocument); //Load the XML rssDoc.Load( rssReader ); If the file doesn't exist on the remote web server I get the System.Net.WebException error. Is there a clean and easy way to detect this page without having an error get thrown I have another project that uses HttpWebRequest.getResponse() but that also throws an error if the web page doesn't exist. I am stuck. Thanks for the quick reply but I wanted a way that wouldn't throw an exception. If the "file" was an actual file on the hard drive I could check File.Exists( file ). I wondered if there was something along those lines for the Web. ...Show All

  • Windows Forms Need help autoscaling dynamically created controls

    I am having trouble autoscaling dynamically created classes derived from UserControl in 120 DPI. Here are the involved classes: ClassA : UserControl ClassB : UserControl Dockable pane (from third-party) In the dockable pane is object A (ClassA). ClassA.AutoScaleMode = Inherit and controls in object A are autoscaling correctly in 120 DPI. The AutoScaleFactor from the dockable pane is apparently being used to autoscale object A (which is good). Part of ClassA's code: ClassB B = new ClassB(); this.Controls.Add(B); B.Dock = DockStyle.Fill; B.BringToFront(); Problem: ClassB.AutoScaleMode = Inherit, but the controls in B are not autoscaling. Note: I could just set ClassB.AutoScaleMode = Font, but I don't want to do that. ClassB ...Show All

  • .NET Development Print from Web Service

    Hi. I have a vb6 dll that prints a document to the default printer and I have a vb.net application that creates an instance of an object of the vb6 dll, executes the method "print" and works fine (a document is printed on the printer)...the problem is: I need a Web Service that creates an instance of the vb6 object by reflection and executes the method "print"...the method is called but not document is printed on the printer! What can I do to solve this Is a security issue Any help Thanks. RAPZ. Hi, Your function to print a document probably requires a user profile with a default printer. You have to make sure that the user running the ASP.NET process meets those requ ...Show All

  • SQL Server parameterized query that counts the number of null values in an int32 column

    Using c# in the compact framework, is there a way to do a parameterized query for counting the number of records where a specified column is null. I tried all of these, but none of them work: cmd.Add(new SqlCeParameter("@IntColumn", SqlInt32.Null)); cmd.CommandText = "select count(*) from TableName where IntColumn is not @IntColumn"; cmd.Add(new SqlCeParameter("@IntColumn", DBNull.Value)); cmd.CommandText = "select count(*) from TableName where IntColumn is not @IntColumn"; cmd.Add(new SqlCeParameter("@IntColumn", SqlInt32.Null)); cmd.CommandText = "select count(*) from TableName where not IntColumn = @IntColumn"; cmd.Add(new SqlCeParameter("@IntColumn", DBNull.Value ...Show All

  • Windows Forms Start application in system tray

    I am writing an application which I want to run in the system tray. Everything is set so that when it open it puts an icon in the system tray, and if I minimize it, it will also go to the system tray. The problem I am having is having it so that when it opens the form shows, however I want it to be hidden until the user selects it from the system tray. So basically, how do I start the applicatin in hidden mode. Hope this is clear. Thanks, Russ Russ Perna wrote: Setting the windowstate to minimize doesn't actually do it. That just starts the app in a minimized mode. I would like to start it in hidden mode so that it only opens when you click on the tray icon. Thanks for your help, Russ ...Show All

  • Visual Studio Team System How to add a file to a filegroup?

    In VSTSDP, it is obvious how to add a filegroup to a database. What is not clear is how to add a file to that filegroup within the product. Is it possible to add a file to a filegroup within the development environment or must it be added using SQL Server Management Studio once the database is deployed Thanks, Ted Hi Russ - You are correct, it would be best if we created the files in predeployment, but we can't. The filegroups are a member of the project and get deployed after the pre deployment scripts and we can't create the files before we create the filegroups. Since the files are not official members of the project, we have to create them in post deployment. It works ok since the files aren't n ...Show All

©2008 Software Development Network