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

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

avinashraj

Member List

Evan Mulawski
RickKr
Wee Bubba
dampbarn
KHodam
progames25
kcdclan
Pascal Mignot
Paul Ballard
Sundaar
Piroc
яeverser
Friendly Dog
Allen Hsu
Kamii47
eric02
SynergyNT
IamHuM
BilalShouman
Beast Forever
Only Title

avinashraj's Q&A profile

  • .NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange

    Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple:         public string myFunction( int ANumber )         {             string strRetVal = null ;             SqlDataReader myReader = null ;             SqlConnection MyConn = null ;             ...Show All

  • Visual Studio Team System Force get latest on check out

    How do I set up my team foundation source control project so that when someone checks out a file, the IDE will get (or at least prompt to get!!) the latest version Currently it indicates there is a newer file on the output window only, and does nothing to get it. Thanks No, he means Orcas, per Brian's roadmap . I've collected all of the publicly available info on Get Latest On Checkout in v1 on my blog . Pay attention to the notes at the bottom. ...Show All

  • .NET Development DS HELP

    I currently have this error when I delete a record and then save it. My code is at the bottom of this post, im a newb to this though wish to learn. Though i've tryed to google this many a times and still come up blank with out knowing how to fix this problem. Can anyone help much thanks and please keep the answer with simple instructions. --------------------------------------------------------------------- ERROR: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. {"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."} System.InvalidOperationException was unhandled Message="Update requires a valid DeleteCommand when passed DataRow col ...Show All

  • Windows Live Developer Forums What is the difference between the following mapcontrol.js and Which one is Microsoft Virtual Earth Map Control?

    What is the difference between the following mapcontrol.js http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js http://dev.virtualearth.net/standard/v2/MapControl.js Which one is Microsoft Virtual Earth Map Control I appreciate your help. Yep - v2 is simply an older version with a LOT less functionality. We provide the different URLs so that you have time to update your site to the latest version when we roll one out. You can still use v2, but a) I took down the documentation on it, b) you'll lose a lot of features, and c) it will be retired at some point sooner than v3. ...Show All

  • Visual Basic Find all PCs in a network. Try PING.

    I am using VB 2005 How can I search all active PCs in a network in vb.net Regards You could use a batch command to read out the net view info from your network and then import this information into your program: Code Snippet 'Read out the net view information and store it to C:\Temp.txt 'AppWinStyle.Hide hides the commandline window 'True waits for the net view command to finish before continueing Shell( "cmd.exe /c net view>C:\Temp.txt" , AppWinStyle.Hide, True ) 'The command above will write something like this in the text file: ' 'Server Name Remark ' '---------------------------------------------------------- ...Show All

  • Visual Studio How to generate Hashtable like collection?

    Hi, Is there any way to generate a collection with an access by some key For example, I have Embedding reference with "allow dublicates" property equal to "False" , the target role player has element name attribute. I want to get elements not only by index but by element name, for instance. Evgeny Hi Patrick, I took a look at the template, it's not easy to modify template, because there are a lot of dependencies on Microsoft.VisualStudio.Modeling. LinkedElementCollection<T> Helper method it is not what I really want, but... If add a generation of those methods to CodeTemplate it may be nice. I was looking on MonikerResolver. Any way, thank you for response! ...Show All

  • SQL Server How to display Rich Text Format in Textbox control in SSRS Report

    I have rich text format as field in dataset e.g <FONT color=#000000><B><FONT color=#00c060>Suspendisse</FONT></B> </FONT>augue diam, blandit quis, elementum sed, cursus at, sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris porta vehicula ligula. <STRONG>Curabitur consectetuer</STRONG> <EM>massa</EM> . when this field is dropped in the Textbox it does not show it in rich text in report but displays in html format i.e the way it looks above in SSRS report .Please suggest how it can be handled. The following blog article shows an approach to draw RTF as images: http://blogs.digineer.com/b ...Show All

  • Windows Forms splashscreen problem

    Hi, I've got a problem with my splashscreen; I want to show my splashscreen as long my application is not fully loaded and I don't want to use a timer, it must be "real", so I realy want to see it as long as the application isn't fully loaded. And how can I see what the application is currently loading give me an answer if u know something about it regards tom ok, try this. //main form: //global: public delegate void FinishSplashScreen(); public static event FinishSplashScreen OnEventFinishSplashScreen; //splash screen constructor: public Splashscreen() { MainForm.OnEventFinishSplashScreen += new MainForm.FinishSplashScreen(MainForm_OnEventFinishSplashS ...Show All

  • Internet Explorer Development IE7 and desktop icons

    I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. Hi, The favicon implementation has changed to be more effective in IE7. If you revisit the content the favicon should be replaced by the correcte one. Thank ...Show All

  • Visual Studio 2008 (Pre-release) "Cutting" a 3D mesh...

    I'm working on a cabinet design application for woodworking. I have modeled a "board" as a six-sided cube, but how would I go about "drilling" holes into the board or "cutting" a groove in the mesh I have experimented with creating my "joinery" as separate meshes but I would need to "subtract" the intersection of the two models and I'm totally lost as to how to approach this. Some guidance would be most helpful... Thanks! Boolean operations in 3D is a very complex subject (even packages such as 3ds Max would fail or produce ugly results sometimes, at least a few years ago), so I think it might be a bit difficult to find good open source. Try ...Show All

  • Software Development for Windows Vista SDK 6.0 Compile Issues

    I have both VS 2005 and VC 6.0. Normally use VC 6.0. Recently downloaded and installed the new 6.0 SDK. Tried some of the examples with VS 2005, but all generate compile errors. C:\program files\microsoft sdks\windows\v6.0\include\mediaobj.h(183) : error C2061: syntax error : identifier '__RPC__out' Any ideas Ed ...Show All

  • Visual Studio Express Editions Error while generating multiple forms

    Hello again, I am trying to create a simple text editor. In this editor, I have an MDIParent form that I created. In the MDIParent, I want to create a form that has a multiline text box in it. Here is the code that I have created so far: Imports System.windows.Forms Public Class Startpage Private Note As New System.Windows.Forms.TextBox Private Notes As New System.Windows.Forms.Form Private m_NotesNumber As Integer = 0 Private save As New System.Windows.Forms.SaveFileDialog Private Sub NewToolStripMenuItem_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles NewToolStripMenuItem.Click m_NotesNumber += 1 Note.Multiline = True Note.Parent = Notes No ...Show All

  • Visual Studio Express Editions Query within a datagrid

    CHECK BOTTOM When i tried... DataGridView1.RowFilter = " UserName = "'" & Me.UserBox.Text & "'" ... It doesn't work Any ideas whats wrong ...Show All

  • Visual FoxPro .

    For 1st one what does "are not O-kay" mean What is the error message (I assume you already corrected my typo of not having .rows after oSheet ( oSheet.rows( "10:" + m.mrows)... ) ). For 2nd one, it's your fault not specifying VFP version you're using, not mine. ...Show All

  • Smart Device Development listview navigation problem

    Hi, I have a listview control and i would like to have the following behaviour, when the user press the VK_TUP at the first item (0 index) the program will go to the last item of the listview or vice versa (a circular selection of listview). I have the following code in WM_NOTIFY case LVN_KEYDOWN: {     LPNMLVKEYDOWN nmkey = (LPNMLVKEYDOWN)lParam;     int iSelected, iItemCount;     iSelected = ListView_GetNextItem(hList, -1, LVNI_FOCUSED | LVNI_SELECTED);     iItemCount = ListView_GetItemCount(hList);     switch(nmkey->wVKey)     {         case VK_TUP:         ...Show All

©2008 Software Development Network