Mauro Mazzieri's Q&A profile
Visual Studio Express Editions Displaying an image stored as a pointer in a SQL table.
I am having trouble getting images to display on an application I am trying to build. I have my images stored in a directory and then have a pointer in sql to those files. I want to display the photo associated with the particular record in my windows form but I cannot seem to make it happen. Any advice or code samples would be appreciated. Thanks. Scratch that. I actually got the code to go through with no errors but I still don't get anything represented in my PictureBox. I will keep trying some things. If you have any ideas why it might not show please let me know. ...Show All
Visual C# How can I make the user able to close the about box with 'Esc' button?
The title says it! TIA. private void AboutForm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData.ToString() == Keys.Escape.ToString()) this.Close(); } ...Show All
Windows Forms Adding picture to System.Windows.Forms.DataGird 1.1
Is it possible to have a column in my Win DataGrid (1.1) that is a picture if so, then how Why is my thread ignored Is it possible to add a picture or not ...Show All
Visual Studio Team System MSF4ASD vs. RUP (More MSF v4.0 information)
I want to make a comparison study between Rational Unified Process and Microsoft Solutions Framework for Agile Software Development (MSF4ASD). At the moment, only general information about MSF4ASD is on the web public available. Can you please give me an indication when more information (whitepapers, books) about MSF v4.0 will be available Or can you tell me who to contact to get the information Kind regards, Johan Traa Jorgen, I believe you meant to retrieve the MSF for Agile Software Development , build 100 (you were looking in the MSF for CMMI Process Improvement section. Look under: htt ...Show All
.NET Development Accessing generics from all over the application
Hello, My application has got a generic list in the service.vb in the web service with following code: <WebService(Namespace:="http://howto.com/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class Service Inherits System.Web.Services.WebService Dim Customer As New System.Collections.Generic.SortedList(Of String, Customer) Dim CusKey As String ---- The Customer class in the Customer.vb looks like: Private mName As String Public Sub New (ByVal mName As String) Me.Name = mName Public Property Name() As String Ge ...Show All
Visual Studio Tools for Office Appointment Instance not closing
Hi I have created a simple outlook Addin using VSTO. I am adding a button in the standard tool bar of the mail item and done some functionality on button click. I am currently facing an issue in this implementation. When opening a new inspector I will be checking whether it is a mail item or not and then adding a button to the standard tool bar. The following is my code for new inspector open event. Private Sub _Inspectors_NewInspector(ByVal Inspector As Microsoft.Office.Interop.Outlook.Inspector) Try If Inspector.CurrentItem.MessageClass = "IPM.Note" Then End If Catch ex As Exception ...Show All
Visual Studio Express Editions No output from Debug.WriteLine
Hi, I must have changed something in VB. My Debug.WriteLine("What ever") statements no longer produce any output in the Output window. The window is blank! I would appreciate help in how to get Debug.WriteLine working once again, thanks. I'd need to check in Express but in VSTS it is producing the output in the output window whether I use Debug.writeline or Console.writeline. The dropdown at the top of this window show output from debug was set to Debug. I'll double check with express when I get into work. Is this a windows or console application that you trying to use this with - just so I can try and duplicate you ...Show All
Visual Basic Combobox Arrays and listboxes :-(
Hi all, let me tell you what I'm trying to do and maybe you can help please. I've got a combobox with three items (types of sandwich: Smos, baguette and broodje). When you click on Smos for example you get a list of types of sandwich that are in that group. (I've created an array list for this: aSmos). When you click on "Toevoegen" (add, in dutch) you can add the sandwich type to a second listbox(geselecteerdeBroodjes). So far so good :-) but i need to attach a price to the three groups and have the total calculated and displayed below in my label. That's where I'm lost. How can I attach a price - say €2 for Smos €2:5 for Baguette etc. and t ...Show All
Windows Forms Get Value From CheckedListBox
Hi , I'm need to get values for all the checked Items. regretfully, I'm getting every time the value of the last cheked Item. // Populate Data Into myClb strQuery = "SELECT code,title FROM tbl1" orclDa = new OracleDataAdapter (strQuery, strOrclConn); orclDa.Fill(orclDs, "tbl1"); myClb.DataSource = orclDs.Tables["tbl1"]; myClb.DisplayMember = "title"; myCld.ValueMember = "code"; myClb.SelectedIndex = -1; // Start Checking foreach ( object itemChecked in clbMifalim.CheckedItems) { MessageBox .Show(" Value is:" + clbMifalim.SelectedValue.ToString() + "."); } Please Help Regards Boaz. ...Show All
Visual Basic Object array and refference
Hello , i write a class that stores data simple. the class was in the module and i import that module in the main form class. Name of Class>> DataSource Name of Object>> DS( ) i create an object array in the module by the following code Public DD() As DataSource and then i add the following line to initialize the object array in button click event. DS(Index + 1) = New DataSource Here index+1 show how many elements i want to be in object array. but when i run the project it succesfull but clicking the button[that contains the code] gives program a break and show the following error. An unhandled e ...Show All
Visual C++ stringizing __LINE__ in Visual C++ 2003
Anyone know how to get around the problem with stringizing __LINE__ in Visual C++ 2003 when /ZI (Program Database for Edit & Continue) is used I'd rather not have to switch to /Zi (Program Database) and lose Edit & Continue. For example: # define _STR2_(x) #x # define _STR1_(x) _STR2_(x) TRACE(_STR1_(__LINE__)); Instead of a numeric value I get " (__LINE__Var+1) ". Hi Rick. Thanks for your posts; but, my original post mentioned that I would like to not have to use /Zi as suggested in 199057 . One of my uses for __LINE__ is to generate trace output that can be double-clicked in the Visual Studio outpu ...Show All
SQL Server Urgent: Finding sessions in SQL server 2000
Hi, Can you help me how to find out sessions in SQL Server 2000. Also is there any way to see the outstanding sessions for a database Thanks in advance, Vasu. You can do this graphically in Enterprise Manager, or you can use this script: SET NOCOUNT ON create table #ProcCheck( Status varchar(50) , SPID int , CPU int , Pys_IO int , WaitTime int , BlockSPID int , HostName varchar(36) , ProgName varchar(100) , NTUser varchar(50) , LoginTime datetime , LastBatch datetime , OpenTrans int , LastCmd varchar(4000)) create table #ProcInfo( EventType varchar(100) , Parameters int , EventInfo varc ...Show All
Visual Studio Express Editions Upload file to ftp server
does anybody have a sample code to upload a file to ftp server by using ftpWebRequest/ftpWebResponse class in vb.net. thank you In C#, some information is available at http://blogs.msdn.com/adarshk/archive/2004/09/13/229069.aspx ...Show All
Windows Forms I love MS and Windows
Filiberto Selvas MSFT wrote: Thanks for the note; we are definetely watching performance. Could you provide me more details on what operations were too slow and what specifically too slow means knowing some details on your connection speed/location coould help too Thanks Hi Filiberto, I dont have troubles with my connection speed. It is ok. But I have one issue: (1) When I enter Members List. Later, I enter to Search posts of any user there. Then I enter to Member List, again. I enter to Search post of other user there. Finally, I see same post list of first user. I believe that some variable of session ...Show All
Visual Studio Team System FxCop Custom Rules
Hi, I need to write a couple of custom rules which requires me to parse the code like Length of a class file, Code/Comment Ratio, Length of line does not exceed say 60 characters and so on. It will be great to have these checks as part of FxCop rules so that these requirements are taken care of. Is it possible to achieve this. Also I need to check the number of levels in the inheritance heirarchy. Is this also possible in FxCop Thanks and would appreciate any help in this regard. Thanks and Regards Prash A great blogpost by Jeffrey Gogh: Two common questions we often get are: ...Show All
