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

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

Nodnarb501

Member List

12340987
Robert-UTS
kinny_k
Sondre - MSFT Regional Director
Iago
Namrata Prashar
c0d3bl00d3d
pbairoleto
arthurmnev
.net sukbir
Beth Massi - MSFT
CodeDjinn
Nevor
rdleeper
Ryan lynch
WinFXGuy
Bapa
RMan54
cracklestudios
Christian Arnold
Only Title

Nodnarb501's Q&A profile

  • Visual Studio Express Editions WebBrowser Control, Posting form variables?

    Recently I've been playing with screen scraping and crawling using VB Express and I love it. It took me a couple of days of adapting to the environment and syntax to have a nice interface on things I would usually do in Perl from the command line, or php if I wanted it to be quick, dirty, and public. The RegEx stuff works very nicely. The problem I'm having is figuring out how to use the WebBrowser control to post data successfully. What I would like is to have pairs of text boxes and take these strings and convert them into post-able form variable=data. The interface works easily enough if the for uses Get... it just appends to the URL. But posting it uses a data type that I don't understand. I have read this article http://support. ...Show All

  • Gadgets Problem in binding for RSS feed Items as slide show

    I want to create a gadget that is capable of showing several RSS feed items as a slide show. I have created a binding for loading slide show items .On calling Web.Bindings.attachElementBindingSync( loadingContainer, Microsoft.Live.GadgetSDK.ExampleBinding, this ); have getting the error "module' is null or not an object" on debugging. On the code above "Microsoft.Live.GadgetSDK" is my name space and it has classes "Microsoft.Live.GadgetSDK.RssGadget" and " "Microsoft.Live.GadgetSDK.ExampleBinding". AttachElementBindingSync is being called from RssGadget class. What am I doing wrong Can you please send me a sample code for binding. Is binding the way to go for the ...Show All

  • Windows Forms Change editable area of datagridview

    How, when user click on a text cell of a datagridview, the editable area of the cell became bigger than the cell(span 3 rows and 2 columns), which make it easier for the user to edit Thanks Hi, How about doing in the following way Hope it helps. private void dataGridView1_EditingControlShowing( object sender, DataGridViewEditingControlShowingEventArgs e) { if (e.Control is TextBox ) { Rectangle rect = this .dataGridView1.GetCellDisplayRectangle( this .dataGridView1.CurrentCell.ColumnIndex, this .dataGridView1.CurrentCell.RowIndex, false ); int curHeight = rect.Height; this .dataGridView1.CurrentRow.Height = curHeight * 2; ...Show All

  • Visual Studio Express Editions Many Threads Logging to Same File(?)

    Hello All, I am trying to figure out a way for many threads in my app to log to a single logfile. Here are the details... a. I instantiate a client class for each incoming socket connection... service the connection then log the result. b. I am using a User Selectable Threadpool ranging from 1-10 threads c. The string being written is very short (about 90 bytes) Problem is the debugger throws an IO Exception "The process cannot access the file ... because it is being used by another process" This problem doesnt seem to appear in the "Release" Application, only when in the debugger. I have tried several methods of reducing the contention for the file but they dont seem to work... I have tried the fo ...Show All

  • Windows Forms Rich and Plain Text

    Hi Does anyone knows how to code an Open Rich text or Plain Text file in childForm with RichTextBox thanks jbattat sorry how exactly do you mean the plain text is just plain text you write (normal) as I am in this reply for example. the RTB (RichTextBox) format http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox.aspx are you able to explain a bit more please ...Show All

  • Visual Basic Show Clock using WM_USER

    Hi, Im currently devloping an app that is to show the quick launch and clock in the task bar. Currently I can get the QuickLaunch to show but the clock remains elusive. Dim x As Integer = SendMessage(FindWindow( "Shell_TrayWnd" , Nothing ), WM_USER + 206, 0, clockState) Dim y As Integer = SendMessage(FindWindow( "Shell_TrayWnd" , Nothing ), WM_USER + 237, 0, qlState) I know that the clock can be shown by restarting the explorer process and applying a Reg hack but it isnt elegant. for the clock code, am I pointing to the wrong section of the task bar is the WM_USER + int value incorrect Suggestions. I've also noticed alot of code for adding/removing icons from the Systray area, could ...Show All

  • Visual Studio Document explorer favorites

    Hi guys =) Anyone knows where document explorer stores it's favorites links I bookmarked them in the document explorer which comes with .Net SDK 2.0 (not in VS2005) & need to backup. Thank you. Hi, DExplore can be launched in such a way that it saves it's Favorites file to a folder specified by the launching program (VS, for example, launches DExplore to save it's favorites file in Documents and Settings\<username>\Application Data\Microsoft\VisualStudio\8.0\VS Help Data\Favorites.xml) If you do a search under the Documents and Settings\<username>\Application Data directory for "favorites.xml" you should be able to find the favorites file you're looking for Nishan Jebana ...Show All

  • Visual Studio Team System "unable to determine the workspace" error

    I was just wondering if anyone else has run into this issue as well. I have been working on a new Build Type for one of our projects and finally had everything completed and running fine. Last night after several tests I went to the Source Control Explorer (using Team Foundation Server) and renamed the Build Type. I checked everything in and went home. This morning some initial <Exec tf.exe get operations were failing with the error: 'Unable to determine workspace." I couldn't figure it out and spent quite a bit of time investigating the issue to no avail, everything seemed to be fine, plus it was working last night with no changes besides the Build Type rename. I finally renamed the Build Type back to its orignal name and ever ...Show All

  • Software Development for Windows Vista SampleGrabber fail after unlocking from lock screen in XP

    Hey guys, I'm having a problem whit my direct x graph; I'm performing acquisition with a SampleGrabber (and also using a callback to retreive my samples). If I go to "lock screen" (windows lock computer) during the acquisition and I come back to my application (unlock), the callback function is stop being called (no sample anymore), so my acquisition fails ... any idea what may be my problem(s) Here my graph : CaptureFilter (from camera) -> SampleGrabber -> VideoRenderer CLSID_VideoInputDeviceCategory->CLSID_SampleGrabber->CLSID_VideoRenderer (CLSID_VideoInputDeviceCategory, the first video capture device install (and the only one)) I'm seeting up a callback (class derived from ISampleGrabberCB) and im ...Show All

  • Visual Studio Express Editions Visual C++ Express drawing commands?

    A long time ago I used VB and was able to show relative values using rectangle shapes on my form. I've installed VC++ Express and am excited about using C, something that I work with on other target systems. I've successfully written some forms programs and command console programs. I cannot figure out how to draw simple shapes on the form that might vary in size according to data values. Searching through help gives me a code snippet under "Draw shapes" but I can't get the code to compile no matter what I do - I'm not even sure if it is written in C (I get errors on the word "protected", Form1, and several other items). Where would the code go to get it to run "See also" items get me no where. Perhaps there ...Show All

  • Windows Forms "A generic error occurred in GDI+." Exception occured when drawing custom items in ListBox

    I wrote a simple example just for purpose of some customized drawing on items. Here is the whole class definition, class MyListBox : ListBox { public void DrawCustomItems() { for ( int idx = 0; idx < this .Items.Count; idx++) { //Graphics graphic = Graphics.FromHwnd(this.Handle); Graphics graphic = this .CreateGraphics(); DrawItemState state = DrawItemState .Default; if ( this .SelectedIndices.Contains(idx)) state = DrawItemState .Selected; if (! this .Enabled) state |= DrawItemState .Disabled; Rectangle bound = this .GetItemRectangle(idx); DrawItemEventArgs e = new DrawItemEventArgs (graphic, this .Font, bound, idx, state, Color .Red, Color .Yellow); ...Show All

  • Visual Basic open unbound form and fill with data

    I have a form that has several unbound textboxes, I use it for entring new data only. I tried the below to open the form and populate the textboxes and it didnt work Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim EDFRow As DataSet1.EDFRow If Me .ListBox1.SelectedItems.Count = 1 Then EDFRow = DataSet1.EDF.FindByEName( Me .ListBox1.SelectedValue.ToString) My .Forms.EmployeeSimple.ShowDialog() My .Forms.EmployeeSimple.ENameTextBox.Text = EDFRow.EName etc. didnt post all lines, but its basically the same, just different columns Exit Sub End If End Sub I tried a msgbox to return EDFROW.EName and it was the name ...Show All

  • SQL Server Error Stating package Failure while executing SSIS Package in Standard Edition

    Hi, I have developed an SSIS package for ETL purpose. I am invoking the SSIS package through .Net console application by referencing the ManagedDTS Assembly. I am able to execute the package in Sql Server 2005 Developer Edition and it runs fine till completion. But when i try to execute the packahe in Sql Server 2005 Standard edition, by invoking the package through .Net console application the status of the package is failure. Can any one help me how to over come this problem. Hi Madhavan. I think it would be best if you implement logging in your package first. On Business Intelligence Development Studio (or VS2005), right-click on the Control Flow surface and click on Logging. Then select and activate a logging ...Show All

  • Visual Basic Any questions

    I'm creating a little tool. But it is so much difficulty for me and i hope that anyone can help me. I have a Form with PictureBox ListBox and 3 Button. I need opening a file and i want that when it shows the OpenFileDialog it seek in the same folder a file with same name. Example: I open the file by.bin it mus search a file with this name but different extensions ( *.kar ). The file .kar is made by any GIF Files and i want that when it seeks the .KAR files it add all GIF in ListBox.Item (if the GIF Files are 16 it add 16 Items) and when i click on the item in the PictureBox will show the GIF in PictureBox. And i want that clicking another button it overwrite a GIF Selected (that it is an ListBox.Item) it shows an O ...Show All

  • Visual Studio Team System Scheduling with VSTS and MS Project

    Hi I am trying to get to grips with using MS Project with VSTS, however I seem to be a little stuck when it comes to setting up predecessors for tasks. Whilst I have found I can set the predecessors in Project they do not appear to adjust their start dates of the tasks dependent tasks. What am I missing Cheers Brett Smitha Thanks for your help, I had changed the mapping file as per various other posts. What I didn't realize was that I assume by default the Calculation mode in MS Project is manual and not automatic. Changing it to automatic made a world of difference. Thanks Brett ...Show All

©2008 Software Development Network