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

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

hrubesh

Member List

Jayakumar A
CWDavid
dmyers
Will Merydith
Matthew_Stevenson
Michael Tsai
wpf michelle
AndyMills
Recency
Pvanroos
rbennet8
Iram
Alan Phipps
TigerPhoenix
Ride44
pezi179
Frank Xia
DaveKStl
GavH
Bill F.
Only Title

hrubesh's Q&A profile

  • .NET Development failed to connect to an oracle 8i database

    Hello everybody, I hope someone would be able to help me… I need to programmatically talk to an Oracle 8 database located in a remote server. I have installed the client oracle 8 + Toad into my computers (Windows XP) and I have no problem connecting to this database by using toad. Then I added the System.Data.oracleClient dll to my project, imported it and tried to connect via my application, and had the ORA-12560 error. I can’t open the connection. My connection string is : “BaseName. UNIV-PARIS.COM (from the names.default_domain in the sqlnet.ora file); user id= ; password=” Have you any idea of what my problem is Thanks you for your help, Susana You co ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. texture2d problem...?

    Hi All, i'm new to XNA programming (and directx programming altogether). having a lot of fun with XNA and most things are pretty straight forward for a simpleton like me. here's a problem i'm having that i'm hoping someone can shed some light on. I'm using a lot of photos in my application (a slideshow!). I'm testing with 1 Texture2D and every few seconds loading another image into it using Texture2D.fromFile, etc... Here's what i'm experiencing - if I don't call dispose() on the texture before each new fromfile, it's a memory leak... this makes sense. the problem is that the texture seems to get confused on it's size. I'm using a mix of different sized non-square images. it's like the texture only reads the first texture size called and t ...Show All

  • Microsoft ISV Community Center Forums vlookup

    Hello can anyone help me with how to write the excel vlookup function in vba the function in excel looks like this VLOOKUP(O2,'[Consolidated list of supplier.xls]Sheet3'!$A$5:$F$218,6,FALSE) how can i get something similar working in a macro. thanks namrata thanks Andy for the reply. i tried writing something similar to what you suggested but i get error. i wrote Public LookupValue As Range Public TableArray As Range Set LookupValue = Sheet3.Range("O2") Set TableArray = Workbooks(MyPath).Worksheets("Sheet3").Range("$A$5:$F$281") ............... error here The error is Run Time error 9 Sub-Script out of range can you please help thanks namrata ...Show All

  • .NET Development parameterized query performance/speed issue

    Hello all, I am running a query on a SQL 2000 table with roughly 50 million phone numbers stored in varchar format. I am converting from an old asp page to asp.net and have run into an interesting issue. The old asp page had a query similar to the following, with varPhone always representing a string variable. "SELECT * FROM dbo.AllNumbers WHERE Phone='" & varPhone & "'" This query ran in under 1 second. When converting to asp.net I decided to take advantage of parameterized queries and used the following: "SELECT * FROM AllNumbers WHERE Phone=@Phone " Using a parameter coded as follows: dbCMD.Parameters.AddWithValue("@Phone", varPhone) This query took 7 seconds to finish. ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter : Does NameScope.RegisterName set x:Name attribute ?

    Is that correct to think so are there rules to follow for this to appends public void OnLoad ( Object sender, RoutedEventArgs e) { TranslateTransform3D ts = new TranslateTransform3D (); Transform3DGroup tg = new Transform3DGroup (); tg.Children.Add(ts); NameScope tgScope = new NameScope (); NameScope .SetNameScope(tg, tgScope); tgScope.RegisterName( "ts" ,ts); XmlWriterSettings settings = new XmlWriterSettings (); settings.Indent = true ; StringBuilder strbuild = new StringBuilder (); XmlWriter xmlwrite = XmlWriter .Create(strbuild, settings); XamlWriter ...Show All

  • Smart Device Development Sync data between desktop and pocket pc

    I have a pocket pc application for pocket pc 2003 developed usign Vb .NET.It uses a Sql Mobile database (.sdb). I have desktop version of the same application using an access database. I need to transfer the data between the desktop and the pocket pc app.(ex. update the access database based on entires in the mobile database and vice versa). replication and migration are not an option since I do not use Sql server 2000 on the desktop side. Any help appreciated Thanks, Web Services is not an options since the desktop will not have IIS.Any other suggestion ...Show All

  • Software Development for Windows Vista how to skip frame for compressed viedo

    hello friends, i created a source filter to play compressed viedo in windows media player, since it's compressed, i need to skip frame in order to show the frames corresponding to the position of windows media player scroll bar. my question is : how can i get current position of windows media player scroll bar especially when i am only developing a source filter, Hi, Is it sufficient to support IMediaSeeking on Source filter only or is it also required to implement some pass through functions on the transform filters as said on http://msdn2.microsoft.com/en-us/library/aa919887.aspx under "when to Implement" section Regards, ...Show All

  • .NET Development How can I get the AssemblyConfiguration value?

    Hi All, I need to get the AssemblyConfiguration string value which is set in the AssemblyInfo.cs file [assembly: AssemblyConfiguration ( "Retail" )] It seems like all the other attributes in this file can be easily retreived by using the Application class but this one is not for some reason. Does anyone have a code snippet they could share to get this attribute Using C# VS2005 , .Net framework 2.0 Thanks in advance for any help. ~John Quicker and cleaner is to must query directly for the AssemblyConfiguration attribute. For example: object[] attr = Assembly.GetEntryAssembly().GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); if (attr.Length > 0 ...Show All

  • Visual C# using an Observer Design Pattern with a reference property

    Hi, I was wondering if anyone who has used the Observer Design Pattern with a container of observers knows how to notify when there was a change to a Reference type Property's property. I have searched all over online, but all I can find is when the Property is of a Value Type. For example, check out my "TODO's" in the following code below: class Wheel {    private double _diameter;    private double _width;    public double Diameter    {      get { return _diameter; }      set      {        _diameter = value;               // TO DO: How do I say that ...Show All

  • Visual C# Using StreamReader/StreamWriter or not to use them

      This is outdated version, see Corrections and Questions for current version /* * For learning purpose of functions FromBase64CharArray and ToBase64CharArray, I made following * simple UUEncoder/UUDecoder test case program. There is two implementations of decoder/encoder. * * Overall differencies between implementations are as following: * * Implementation One is taken from Microsotf's sample. * EncoderOne uses FileStream for input and StreamWriter for output phase. * DecoderOne uses StreamReader for input and FileStream for output phase. * * Implementation Two is by mostly developed by me. * EncoderTwo and DecoderTwo uses FileStream for both the input and the output phase. * Besides tha ...Show All

  • Visual Studio Team System TFS custom control custom ConfigurationSection config file issue

    I developed a custom control for TFS SP1 workitem tracking. Initially it was not using any external databases or config files or anything fancy and it worked great. Once I switched to using business objects for persisting custom workitem data, I ran into an issue of System.Configuration not being able to load "<dll name> assembly or one of its dependencies" when trying to read a custom section within a custom config file. The assembly listed in the exception is the one that contains the definition of the custom ConfigurationSection (works in regular applications), and that assembly and config file are deployed along with the assebly containing the custom control in the same folder. So, the question is: Is there an ...Show All

  • Visual Studio Team System Newbie Question - Edit Existing Team Project

    We have recently began using TFS. During the setup process, we downloaded and modified the MSF for Agile Software Development - v4.0 process template to include some custom fields with enumerations that we use internally. Example : Field Name : Department Enumerations: Finance Help Desk Business Development etc. We have recently need to add an enumeration to a field we created for an existing team project. Is there anyway we can update the process template to include this new field enumeration to an existing project What is the best method of adding this enumeration Should we change the database directly and if so, are there any issues we should be careful about any advice would be much appreciated!! ...Show All

  • Visual Studio 2008 (Pre-release) How to force display of Access Key Underlined?

    I have Access Key assigned to the custom button which is on popup. I would like to make the Access Key underlined when popup is open. Right now the access key is underlined only if I click the Alt key. How do I make underline visible at all times Showing the underlines is determined by a system metric and it is not intended to be customizable by API. In Windows Display Properties | Appearance you can check the option to "always show underlines". ...Show All

  • Visual FoxPro Visual Foxpro report writer

    I have a dbf with following fields bill no, bill date, cust name,item name,qty,rate,amount and i have 553 records. i want a simple report on 132 column stationary. i dont want totals also. (so no page footer or summary). i used visual foxpro report writer. but the report does not print with proper ejection i.e. second page starts printing from bottom of first page and third page prints from bottom of second page and so on. printer is absolutely fine because documents from excel and word print with proper page breaks. can anybody help in dos based foxpro we can set the page length sir. but in windows foxpro how do i set the page length. i am selecting us std fan fold for paper setting. i have tried quick report still ...Show All

  • Visual Studio Express Editions Download and Install Not Working

    I downloaded VBSETUP.EXE and when I "Open" it, a bunch of files are copied to a temporary folder, and eventually I get to the Download and Install Progress screen, which contains the following lines: The following items are being downloaded and installed on this computer: Microsoft .Net Framework 2.0 Visual Basic 2005 Express Edition Currently downloading (1 of 2): Microsoft .Net Framework 2.0 The current transfer rate is 0 mb/sec. Total Download Progress: 0 MB/60 MB Then, after a few minutes, the "current transfer" line is replaced with: Status: Re-establishing connection with the server (attempt 1 of 5) Any ideas on how I can get this to work. Thanks. R Forest, ...Show All

©2008 Software Development Network