Software Development Network Logo
  • Windows Live
  • Visual J#
  • .NET Development
  • Architecture
  • Smart Device
  • SQL Server
  • Game Technologies
  • Visual Studio
  • VS Express Editions
  • Visual C++
  • Visual Basic
  • Visual C#
  • Windows Vista
  • Visual FoxPro
  • Microsoft ISV

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

Viktorio

Member List

Akash tharakan
Deza
Avner
Senormic
HKJ
fabian valencia
Jordan Matthiesen
tolko
Sam_L
Rajeev Karunakaran
Steve Q
esjr
Moura
Shveik
stevemcisaac
drastik
JHMiller - MSFT
Aarkay
Anand Raman
Andy Anderson
Only Title

Viktorio's Q&A profile

  • Visual Studio Adaptation

    I want my add-in to be able to respond to a mouse wheel event while a document is active in the Visual Studio text editor. My immediate goal is to bind Ctrl+WheelUp to PgUp and Ctrl+WheelDn to PgDn, but it would be nice to have this adjustable. I just don't know how to respond to a mouse wheel event. Thanks, Sam Hai Sam,             If your question is for VS.NET 2003, then I 'm afraid there is no events available that can help you to capture those Key Events. The available events with the DTE are as follows; windowsEvents = (EnvDTE.WindowEve ...Show All

  • Visual Studio Express Editions VB2005 hangs up on every action

    Hello again. I restored a backup of winxp a week ago (because windows took 5 minutes to startup, currently its under 30seconds) OK, I had to install most applications again (such as games etc.) And vb, too. I installed correctly, everything looked good. Till i started vb. I created a "New Project" and wanted to open the "Form1.vb", but what happened Right, an error message appeared with the following content... Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a30a'. I don't know what I shou ...Show All

  • Windows Forms clearing a datagridview

    Hi! how can i clear all the cells of the datagridview (when are bounded) this is my scenario: i use a DataGridView to register products for a sale ticket, but if i decide cancel the ticket i have to clear the products, there is an event, datagridview.clear but it returns "the list cannot be cleared" something like that To clear a DataGridView, clear the data to which the DataGridView is bounded.  If that's a DataTable, for instance, it has a Clear() function of its own. ...Show All

  • Visual C++ can not compile old code with vs2005. :(

    hi guys, i've got a problem. some code i downloaded can not be compiled with vs 2005 saying that i need some kinds of lib files. and i find some explanation in msdn, but what should i do if i want to compile those old code with the new ide i first came accrose this problem when i tried to compile a piece of "glpng" code. but because glpng is open sourced project, i just recompiled it with vs 2005 to make it work in the new ide. but now i come accrose with the same problem again and this time it is not open source library and i really don't know what to do. please help! this is the explanation i found Note The sing ...Show All

  • Visual C# remove

    I would like to remove the last char in a string is thiis right private void backspace() { int g; g = KeyBoard_textBox.Text.Length ; KeyBoard_textBox.Text.Remove(g, 0); } He he...now you made a mistake ;) g is out int... you do stirng Result = textBox1.Text.Remove( g, 1 ); and then textBox1.Text = Result; :) ...Show All

  • Windows Forms How do I abort or cancel a Text Box input.

    I would like my program to prevent users exiting a Text Box if it fails validation.   The field is part of a DataTable with a column defined as a date type. The Data Table is not linked to a SQL database or MS Access but I read and write to it from text files. This date column is databound into a Form as a Text Box.   In Oracle Forms we would “Raise FORM_TRIGGER_FAILURE” and the command to exit would be aborted leaving the user’s cursor back in the Text Box.   I suspect it may be achieved using CancelEventArgs, example of a Form Cancel event below, so wonder if the same method can be applied to a Text B ...Show All

  • Visual Studio HELP using reporting services on hosting company

    I need some serious help and I am at my wits end: I am using webhost4life and using their reporting services. I am 'trying' to create a simple aspx page with the web report viewer and point to a report on the server. I found some code on this news group (see below) regarding passing credentials but I am still getting access denied in the report viewer. Can any please help me Imports Microsoft.VisualBasic Imports com.mysite4now.sql332reporting Imports Microsoft.Reporting.WebForms Imports System.Security.Principal Partial Class reportviewer Inherits System.Web.UI.Page Public Class ReportViewerCredentials Implements IReportServ ...Show All

  • SQL Server display msgbox in browser

    hi.. i have the following embedded code in my rdl file.. Function validateDate (ByVal startDt as datetime, ByVal endDt as datetime) if (startDt > endDt) System.Windows.Forms.MessageBox.Show("Date Range From must be earlier or the same as Date Range To") End if End function this code works in VS IDE but the msgbox would not appear when view using a browser... how can i get the msgbox to appear when view using a browser thanksss Code execution will happen at the server, not at the client. Client only receives the output of the renderer. The MessageBox might be showing up ...Show All

  • Visual Studio Express Editions Printing charts

    I'm newbie in VB NET and I have problem in printing charts. I have found good solution on the some forums that I use, but there is one problem. Using procedure "Dim graphicID As Graphics = Chart1.CreateGraphics" VB create graphics with resolutions of only 96 DPI which is not good enough for printing. Any better solutions is welcome Thanks in advance There is complete procedure that I use. Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As _ System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim formGraphics As Graphics = e.Graphics formGraphics.DrawImage(memImage, 0, 0) ...Show All

  • Windows Forms Capture OnDragOver

    I'm having a tablelayoutpanel as the rootcomponent. Its designer is sealed and how can we attach OnDragOver event I installed a gloabal behavior per Martin's suggestion, but is doesn't fire an event capturing the action of dragging a toolboxitem over the designer. is there any way to capture this event for tablelayoutpanel at all Thanks, Alan Hi Alan, Since the designer is internal you can't really get at the OnDragOver. Is your global behavior's OnDragOver not being called What are you trying to do Martin ...Show All

  • Visual Studio 2008 (Pre-release) Target database and delivery

    Is it all features of DLink accept any databases (access, Oracle, DB2, ...) and consider their specificities Is it DLink will be include in a future version of .NET framework, or will be a separated framework Thanks for your answers. Chris, From what I have heard, right now the team is focusing on delivery of DLinq with SQL Server only. ALthough they are certainly looking at the community and other vendors to be able to provide DLinq capabilitites for other databases. The framework has certainly been designed to be extensible. The current plans (as I have heard) outline that DLinq will be a part of th ...Show All

  • .NET Development What about Locking from vb.net

    i am facing a little problem in a scnario, i have developed an applicaton which uses sql server as backend database server. i have a table named products which has a column of stock now, how can i prevent many users from making a mistake of selling a thing which is already sold by another vendor that means it is not available in there stock but the purchase order they have opened is indicating the purchase made...................it has not been entered to database but client has requested for those products and is entering others.......so during that how can i prevent misuse of stock....       There are two wa ...Show All

  • Visual FoxPro report labels

    hi all,im making new reports during run time according to users actions.for example he selectes some fields from comboboxes then he puts in a text box a value that is for the "where like.."and i save the results in a temporary table.from that table i create report and the i report form to print the new report..the problem is that the new report has as labels the names of the fields..for example if the field name is costomer_id it shows costomer_id is there a way to change in run time the name of each labe so that when you choose for example costomer_id it will print Identification Of Costomer.. the reason is that if i can change the label i ...Show All

  • Smart Device Development library with events that throws events

    So I think this is more of a general .NET question, but since it's for a compact product I figured I'd ask it here. I'm developing an app that will support multiple types of barcode scanners. I would like to modularize the bar code scanning so that I can have a single interface that is used and is just implemented differently for each piece of hardware. The key is that this interface needs to be able to handle events (hardware key presses, valid barcode scanned, etc), but also needs to be able to throw events to the parent (i.e. barcode scanned). I've looked all around but can't seem to find anything that shows how to do something like this. ...Show All

  • .NET Development Async Webservice call in ASP.NET 1.1

    I know while we call web service async.lly we can provide the call back function along with that. the same thing become problem in asp.net env...while i try to call back the function on asp.net page..it won't get affected. maulik soni www.spaces.msn.com/members/mauliksoni soni.maulik@gmail.com Hi, Could you please clarify what exactly your question is I don't understand what you are asking. If you are looking for information on making async calls to ASP.NET web pages please try posting your question to: http://forums.asp.net Thanks. Daniel roth ...Show All

©2008 Software Development Network