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

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

oaix

Member List

Wally9633
sebastian.gantzert
manick312938
Eusebiu
r3n
ky_kye
LuckyL
jpatrick62
DavidR100
Clayton DuVall
nick0000
datahook
Prasenna
phokaia
maglor_elf
learnerplates
HuWu
joslat
MikeyFunk
Teymur Hajiyev
Only Title

oaix's Q&A profile

  • .NET Development SerialPort using RS485 that doesn't support DTR

    Hello, I need to know if there is any way to use the SerialPort component for an RS485 port without full modem support. I'm trying to use serial ports from a programmable serial interface card which does not support full modem signals (DTR, etc). Specifically, the .NET SerialPort component is throwing an IOException when it tries to set the DtrEnable property of the underlying SerialStream when SerialPort.Open is called saying that "The parameter is incorrect". After speaking with the vendor, full modem is not supported for any of the card's channels, so the card's driver returns an invalid parameter error when any of the control pins associated with full modem functionality are controlled. In the vendor's unmanag ...Show All

  • .NET Development Behavior of XPath Query to find attribute that had the maximum value

    I have the following Xml: <Books><Book id="10"/><Book id="16" /><Book id="12" /><Book id="18" /></Books> I wanted to get the Book node that had the highest "id" value (<Book id="18" /> node in our case). The following XPath query works perfectly fine. /Books/Book/@id[not (. < ../preceding-sibling::Book/@id) and not(. < ../following-sibling::Book/@id)] I was trying to understand this query and changed it to: /Books/Book/@id [(. > ../preceding-sibling::Book/@id) and (. > ../following-sibling::Book/@id)] Note that I removed the not operator and changed the comparison operator. However, I find that the above query ...Show All

  • SQL Server Volume Distribution

    Hi Guys I Have not been able to solve this problem from quiete a while now. I am using sql server 2005. I have got a table which contains these columns - start date, end date and volumes if the month in the start date is same as that of end date, the volume remains same, else if the months in the two dates are different, then i have to distribute the volume in such a way that some part will go in the first month and the rest in the other month.. i have to somehow calculate (or prorate) the volume according to the no of days in each month I have to perform a query on this table so that I can group the volumes for different months and different years. Hope I have made this quite clear. Thanks Mita ...Show All

  • Software Development for Windows Vista Power icon problemw

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! It is true, I have an Acer TravelMate 4002WLMi Notebook and I have the same problem as mentioned here..... I tried installing drive ...Show All

  • Visual C# Create DataTable in Class

    I have a class file and I want to create a Datatable in it.....How would i do this....Do i create the table in the property or would i need to have like a CreateTable function you would have a CreateTable method of course! Properties are only getters and or setters. you would create this property to return a datatable object. private DataTable theTable = null; pubilc DataTable TheTable { get { return this.theTable; } set { this.theTable = value; } } public void DoCreateTable() { this.theTable = new DataTable("myTable"); ..... } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. General strategy question about XNA

    What is MSFT's strategy with GSE I mean, is it a stripped-down version of GS Pro meant to spark interest in GS Pro Is it actually going the core of GS Pro, and the hobbyist/student community is acting as both first adopters and beta (or even alpha) testers of the product Is it a way for MSFT to foster some kind of indie/small game shop Xbox360 game development (The latter would seem to be slightly odd: the actual dev kits, I gather, are not a minor expense, in addition to what I'm assuming are certification and any other testing expenses; I would think that releasing an alternate path for Xbox game development might cannibalize an existing revenue stream...) It would seem to me to be just simpler to wait for GS Pro to come out, and l ...Show All

  • Software Development for Windows Vista Absolute Path to Namespace Extension GUID Path?

    Does anyone know of a way to convert a string (or PIDL for that matter) corresponding to an absolute path to a string containing a path based off of a namespace extension GUID So instead of storing a path like so.... C:\Documents and Settings\skirk\My Documents\SomeDocument.doc I'd instead store it like so... ::{450D8FBA-AD25-11D0-98A8-0800361B1103}\SomeDocument.doc I would really like to be able to store references to GUID paths for all the namespace extensions available to a particular user and not just the user's documents folder. Any thoughts -Shane I implemented a nse as a virtual filesystem handling metadate in a database and files per WebDav. Unfortunately I can't create dos path to the fi ...Show All

  • Visual Studio 2008 (Pre-release) Master-Detail Binding with XML Source

    I have problem to create Master-Detail Databinding with the XML Resource File. I am using WPF Feb. CTP on Windows XP. I want to create a combobox where i can choose between different languages and when i select one language all labels should change. Here is some Sample Code: The Scene1.xaml <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" mc:Ignorable="d" Background="#FFFFFFFF" x:Name="DocumentRoot" x:Class="UntitledProject1.Scene1" Width="640" Height="480" > <Grid.Resources> <XmlDataPro ...Show All

  • .NET Development E-Mail Program

    I am making an e-mail program with 3 forms. One is the "Main" form, another is a fullscreen window called "webView" that shows the e-mail in full view, and the last one is called "AccountInfo" which I hoped to use for the users account information such as the server, username, and password, and if the users account requires an SSL connection. I just don't know how to incorporate it with the main form. I don't know if I should save all of that data into a text file as soon as the user clicks the OK button. I need help please. you can use c-sharpcorner's sample to create your pop3 server but most probably you will have to precise your requirements. there are many pop3 servers and I th ...Show All

  • Visual C# print preview

    1- How can I use Print-Preview Control Is there any example 2- How can I Print current page on a panel control in form try this: http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx ...Show All

  • Visual Studio Express Editions VB express 05 24 hour clock

    Hello all  I'm as you might suspect a total novice to programing. I'm looking for help with coding in my project. I'm trying to take user input of time started and subtract end time using 24 hour clock Example( start 13:30 end time 15:40) what i'm attempting to do with this input is get the elapsed time and than round that to the closeset1/10 of an hour. A simplistic example of how to do this would be of great help. I have tried to do it using the maskedtextbox fucntion with euro./milatary prop. Thank you   This code will take the entries from a textbox and do the same thing....However you are relying upon your users to provide a valid input Dim StartTime As DateTime Dim ReturnTime ...Show All

  • .NET Development FileStream running slow in Window's forms but not in a windows service

    Hi, I'm runnning the same piece of FileStream code (see below) in a simple windows form and in a service but the code in the windows form is running 50 odd seconds slower (7 seconds in the service, 59 seconds in the form) . The file that i'm running the test on has a size of '1.56 MB (1,641,874 bytes)'. using (FileStream s = new FileStream(@"c:\ss.drs", FileMode.Open, FileAccess.Read)) { DateTime start = DateTime.Now; while (s.Position != s.Length) { s.ReadByte(); } TimeSpan ts = DateTime.Now - start; Debug.WriteLine(ts.ToString()); } Any ideas anyone Thanks in advance JK It happens that the code is different :). If y ...Show All

  • Visual C# Display HTML Document in an application form ?

    hello any ideas how to display an HTML document on an application form with Visual Studio 2003 using Visual C# thank you RizwanSharp wrote: No COM browser is not dependant on Visual Studio's version but its already installed with Windows. Right Click your Tool Box - > Add / Remove Items, a new dialog will open with .Net and COM Tabs, go to COM Tab and from the List Select "Microsoft Web Browser" Check the Box and Click OK on the Dialog, NOw this Control willl be added to your Tool Box. Drag it from the Tool Box to your Form, Set some properties and proceed further! Best Regards, Rizwan Well i tried that but i can't find "Microsoft Web Br ...Show All

  • Visual Studio Team System Urgent question, Team Foundation Server support 64 bit installation?

    I have some question I want to know if possible to install my Team Foundation Server in 64 bits, can I do that Yes, you can install in 64bits, it will run under WOW64 environment, here you have more information: http://blogs.msdn.com/robcaron/archive/2005/10/28/486302.aspx ...Show All

  • SQL Server SQL Express 2005 Configuration Manager - Cannot connect to WMI provider

    Hi, when I go to the SQL Server Configuration Manager utility, the following error pops up : Cannot connect to WMI provider.You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Access is denied. [0x80070005] This is on a Windows 2003 SP1 server, and the database is an upgraded MSDE 2000 database. The database itself appears to be working OK. My application can connect to it, I can connect to it via sqlcmd, etc. (all locally). I'm logged on as an Administrator, so permissions shouldn't be a problem. I ran FileMon to see which file it's complaining about, and it seems the culprit is sqlmgmprovider.dll. It's trying to access this .dll as Netw ...Show All

©2008 Software Development Network