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

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

hellomahesh

Member List

robinjam
Mike V T
Mark Norgate
Andrew E449473
Peter Peng
GilbertB
IamHuM
Michael Collins
Nanja Raje Urs
slies
richardpushpa_v
Audiosapien
redneon
Kur Lan
Barry Kwok
bes7252
JerryNixon
itzik
Raj MS
Kevin_B
Only Title

hellomahesh's Q&A profile

  • Windows Search Technologies WDS regular expression

    I want to search a pattern like postCode or telephoneNumber (not the number itself) from the file content with WDS api, is it possible Here is a SQL sentence used by ExecuteSQLQuery, how I can let it work well: strSQL = "SELECT FileName,DocTitle,DocAuthor,Url,PrimaryDate FROM ""MyIndex""..scope() WHERE * LIKE '^({2-9]{3}-) [2-9]{3}-\d{4}$' ORDER BY DocTitle " If it's impossible, is there any other method Hi, I am trying to do the same thing as well. I would like to know two things: 1) Is it possible to use regular expressions and WDS 2.6.5 together 2) If it is possible, would you be able to post some example code for searching the contents of files Thanks in advance for any help ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compressed texture

    It is possible to create a compressed texture with D3DXCreateTextureFromFileEx. Is it also possible to "manually" create a compressed texture Lets say we create a IDirect3DTexture9 object with the D3DFMT_DXT5 specified. Now you want to fill this texture with data. So, if you lock the texture buffer, you then fill it with uncompressed data and it will be compressed after you unlock it Or do you need to fill the locked buffer with compressed data Also, if you create the texture with several levels of mipmap, after locking the buffer and writting into it, will the object create all the mipmap levels after the unlock You can use D3DXLoadSurfaceFromMemory() to fill a texture's certain m ...Show All

  • SQL Server Mirror goes down... Affect client transactions?

    If the mirror server goes down for any reason, then what happens to client transactions against the principle Will any client transactions fail Thanks in advance Quick answer - no, they should not be affected. However, if you have witness set-up and the principal cannot connect to both the witness and the mirror then it will stop serving the database and the transactions will fail. Take a look at this article: http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#ETPAE Thanks, Kaloian. ...Show All

  • Visual C# Viewing runtime errors

    I'm currently using NotePad to write a simple C# application. I simply use cs.exe to compile my windows application. How can I view the runtime errors when using this approach The compiler does not catch the runtime errors obviously. My .exe simply stops executing without any error messages. I do notice one thing, in my task manager I notice that a process called DW20.exe runs for a brief second and terminates. Is the runtime error being logged somewhere in Windows Thanks in advance. Ray Hook an event to ApplicationDomain.UnhadledException and display a messsage box or write exception to some file with some quick code. Here is an example: Put this code in your class: AppDomain current ...Show All

  • Visual C++ How to get MAC Address from Driver or Hardware?

    hi, all I want to get MAC of network adapter. And I have used GetAdaptersAddresses functions, and it can retrieve correct one. But after I modify the MAC in registry key, it gets the fake one. So is there any way i can get real exactly MAC address stored in network hardware Thanks. I checked the C# code. it retrieves the faked one. How do you understand if a MAC is faked or not maybe the answer of this question leads to the answer of yours. ...Show All

  • Visual C++ Side-by-side problems after updating to VS2005 SP1

    Hi, I have a C++/CLI application using Winforms which has used to work great until I updated to VS2005 SP1. Now alot of users are complaining about problems with starting it up. Under Vista it says that the "side-by-side configuration is incorrect". So the obvious question is... how do I correct it I'm rather clueless since I got no indication what goes on (it works fine on the dev machine). Thanks in advance. -- Henrik Does your app have any dependencies on the C Runtime Library If so you'll need your users to run the vcredist_x86.exe (SP1 version) on their machines. vcredist_x86.exe is found here: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Converting from a string to Texture2D

    I am new to XNA and have been playing around a little bit with a project. I am currently trying to call .Draw on a SpriteBatch object and dynamically set the paramater for the Texture2D. The line of code looks like this: spriteBatch.Draw(<Some String Here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); This piece of code would be in a loop and the name of the Texture2D paramater would change. I tried the following line of code: spriteBatch.Draw((Texture2D)<String here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); ...Show All

  • .NET Development sqldatareader?

    I used two sqldatareader like that cmd_1 = New SqlCommand(strsql_1, conn_1) reader1 = cmd_1.ExecuteReader do while reader1.read cmd_2 = New SqlCommand(strsql_2, conn_2) reader2 = cmd_2.ExecuteReader do while reader2.read ****** loop reader2.close() loop reader1.close() Error Warning: There is alreay an open datareader associated with this command which must be closed first any idea regards You need to enable MARS. That’s only supported on SQL 2005 though. To enable it, add the following to your connection string: “MultipleActiveResultSets=True” Zlatko ...Show All

  • Visual Basic 2 errors

    what is the problem when 2 error occur: 1.cannot copy temporory files to the output directory. 2.the files cannot be copied to the run directory.The process cannot access the file because it is being used by another process. plzz help me.i hav an important project to complete... Hi, Putting the same question in one area is usually enough. See my answer in the Express edition forum to the same question from you.>> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1224817&SiteID=1  I would use the GENERAL forum >> http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 or the LAN ...Show All

  • Internet Explorer Development Web Browser inside a tabbed page flickers on resize

    Hi, Can any one offer a solution to the resizing flicker problem when using a tabbed page and web browser control I have used double buffering to no effect and need a quick solution to this problem as the work is already live in a production environment and need to fix it without having to implement new controls. Please help. Thanks. Hi Dave, As far as I can see, any page loaded into a web browser control flickers. Place a tab control with a tabbed page onto a sizable form, set the tab control's dock style to fill or anchor styles property to stretch with form and load any document into the web browser. Resizing the form will cause the page loaded to flicker.   Thanks ...Show All

  • Visual FoxPro RSA Public/Private Key Encryption in VFP 9.0

    Hi, I need to be able to decrypt data pulled from a MySQL table encrypted with RSA public/private key encryption within a FoxPro application.  I am currently using the FoxPro Foundation Class known as _cryptapi as a wrapper to the CryptoAPI interface.  The problem I'm having is that I can't seem to figure out how to decrypt a RSA encrypted string of data.  I know that the _cryptapi class provided by Microsoft uses the Microsoft Base Cryptographic Service Provider which in itself uses RSA public key encryption algorithms, but for some reason I am having the hardest time finding the methods that support this in the _cryptapi foundation class.  I have found methods for symmetric block and stream ciphers but that isn't wha ...Show All

  • Visual Basic Clearing all TextBoxes on a TabPage

    I want to write a small routine to clear all text boxes on the presently opened TabPage. Please help. I am using VB.NET 2003. Sorry I didn't read that it was in VS2003 (the code is for 2005). You should be able to use an ArrayList instead of a List(Of Control) and the error will go away (may have to add a cast as well) ...Show All

  • SQL Server Column Chart Y-axis Values Not Rendering

    I'm trying to create a column chart and am having trouble with the y-axis values. I want to chart sales dollars by month, with the dollars on the y-axis. The datasource is a datatable object with 2 columns, Month & Amount. I dragged the Month column into the category area, and the Amount column into the data fields area The resulting chart shows a column for each month, but all months have a value of '1' rather than the actual values in the table. For testing, I dropped a table control on the page and the amount values show correctly ( =Fields!Amount.Value). Is the chart showing a count, perhaps Any help is appreciated. Maybe the Amount value is a formatted string, rather than a numeric value ...Show All

  • SQL Server Deploying reports on remote report server

    Hello all, I am trying to deploy my rdl's to a remote report server. I have given a valid path in the properties window before deploying...https://RemoteServerName/ReportServer. Now I get the error : Error 1 The permissions granted to user 'domain\user' are insufficient for performing this operation. what permission do I need on the remote server for deployment Thanks..... Hi I got the same issue. I tried to follow the steps given above. This is the first time I am deploying a report. There are no prior reports. I don't know what folder I need to navigate. Do I need to create a folder in Report Manager I tried creating a folder and go to the security tab but I didn't see any Edit Item Security...Can you please explain Tha ...Show All

  • Visual Studio LaunchDebugTarget always claims file does not exist

    Hi I'm using the latest VSIP SDK packages (Sept 06) and attempting to reach first base in a project to launch and talk to a number of DebugEngines simultaneously. First base is somewhat unambitious: just launch a program with an attached DebugEngine. I've copied "hello.exe" to C:\ just to make sure it's nothing daft like spaces in filenames that causes the problems. Essentially, I always get a file not found error from the return of the LaunchDebugTargets. Any suggestions as to what fundamental bit I'm not getting CComPtr<IVsUIShell> spUiShell; HRESULT hr = pisp->QueryService(SID_SVsUIShell, IID_IVsUIShell, ( void **) &spUiShell); CComPtr<IVsDebugger> dbgr; hr = pisp->QueryService(SID_ ...Show All

©2008 Software Development Network