watch is's Q&A profile
Visual Studio Express Editions Graphics Manipulation
Hi All, care to share if it is possible to zoom in and out on bitmaps/JPEG images just like when we are using other software like photoshop or Adobe PDF under the Form environment Pls advice. Thanks in advance. Hi Mate, your method works but the picturebox gets bigger as I click on the zoom button. Is there a way I can prevent that Is there a way to lock the picturebox size Just making use of the scroll bars to view the enlarged picture. Pls advice. Tks ...Show All
Visual Studio Express Editions who knows how to write a ping program with visual basic 2005
I want to upgrade vb6 to vb2005,but failed.who knows how to write a ping program with visual basic 2005 with icmp.dll. I know,it may own ping with my.netwok.ping,but It can't get the reply time. If anyone knows ,hope can tell me,thank you! Base Class Libraries Samples #1: http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx#bcl Network Programming including PING, UDP, and TCP network statistics ...Show All
Visual Studio Express Editions Using modules for storing code
Lets say I have one button on a form, and write the code for what happens when I push the button in a modul, instead of in the button. And in the button I only refer to the modul. Because when I make a program the public class form gets pritty full of code. Is that possible You won't be able to access that function from a form because you have declared it as Private. Declare it as Friend or Public to access it from your forms. ...Show All
Visual Studio 2008 (Pre-release) ListView GridLines
Hi All, Can anyone give Idea about How to Show Gridlines in the ListView . Thanks and Regards, GM Sundaraguru Hi I Got it by binding width of TextBlock to Grid View Column Width property. < Window.Resources > < DataTemplate x:Key = " st1 " > < Border BorderBrush = " Black " BorderThickness = " 0,0,1,1 " Margin = " -6,0,-6,0 " > < TextBlock Text = " {Binding Path=EmpName} " Loaded = " Name_Loaded " ></ TextBlock > </ Border > </ DataTemplate > < DataTemplate x:Key = " st2 " > < Border BorderBrush = " Black " Border ...Show All
Visual Studio MissingMethodException in LocalReport.Render()
Without warning I started getting an exception while rendering LocalReports in a production environment: System.MissingMethodException: Method not found: 'Void Microsoft.Reporting.PreviewItemContext.SetPath(System.String, System.String, Microsoft.Reporting.DefinitionSource, System.Reflection.Assembly)'. at Microsoft.Reporting.WebForms.LocalReport.CreateItemContext() at Microsoft.Reporting.WebForms.LocalReport.CompileReport() at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, CreateAndRegisterStream createStreamCallback, Warning[]& warnings) at Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, CreateStreamCallback createS ...Show All
SQL Server How to transfer a table between databases in SQL Server 2005 express
Hi, In SQL Server 2005 Express I currently have 2 databases which I’m working on, my problem is I want to transfer a table from one of the databases to the other but don't know how to go about achieving this I want the table structure and all the info held within the table transferred across. Any ideas are welcome. hi, using SSMSE, generate the DDL script of the table you like to "copy"... execute the resulting script in the target database.. then insert all the rows in the original table like INSERT INTO dbo.Table SELECT col1, col2, coln FROM originalDatabase.dbo.Table; regards ...Show All
Visual Studio Tools for Office How can I debug Office Com Addin Project?
Hi every one, I created an Office Com Addin project in visual studio 2005 (File>new project>other project types >Shared Add-in),the OS is winXp and I have Office 2003 . I would like to debug my project and I put break point in Connect.vb over "OnConnection Sub" ,but when I run my project,word is opened but I can not trace my project ,running is not return back to my project ,I mean break point is not work correctly and I think there is not any link between my Addin project and word ,I don't know what is the reason of this problem. I would appreciated for any help . yours sincerely, Orchid. Hi, Test this: - Create a new Shared Add-In for Word in VB.NET and check the "I would like my a ...Show All
SQL Server Help me convert date.. Urgent please
Hi... I'm with a problem here... I need to convert a date in a string like dd-mm-yyyy to yyyy-mm-dd in a SQL Query... How can i do that I need to use that in a query like this : Select CodeID, Name From Exams Where ExDate Between @Date1 And @Date2 This is urgent... someone help me please Dim strCN As String = My .Settings.InovaConnectionString Dim cn As New SqlClient.SqlConnection(strCN) 'Creates DataAdapter Dim DataAdapt As New SqlClient.SqlDataAdapter( "SELECT dbo.ORDEM_PROD_CB.Codigo, dbo.ORDEM_PROD_LN.CBarras, dbo.ORDEM_PROD_LN.Cod_Prod, dbo.ORDEM_PROD_LN.Largura, dbo.ORDEM_PROD_LN.Altura, dbo.ORDEM_PROD_LN.Quantidade, dbo.ORDEM_PROD_CB.Data_Entrega FROM dbo.ORDEM_PROD_CB INNER JOI ...Show All
Visual C++ C1091 string too long, getting around it
Is there an easy way to get around the limit of 65535 bytes for a string I'm moving my code to Visual C++, but I don't want to make unnecessary changes to it. Is there a compiler switch to change the limit Why not No, but you can break the string up into chunks and manage it somehow during runtime (either by concatentating or just keeping the array of chunks as is.) Or you can place the string in a resource and use LoadResource on it. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation mesh sample
i see there is a lot of folks that ask for a animation sample well it is all ready been written use this http://dtxna.spaces.live.com/ download it it works with all fbx and xfiles but there is a bug in 3dsmax so what you shood do is export your model from 3dsmax in fbx format and load milkshape up and load the fbx file in and save it agian and you will see it is now working i have tryed 50 diffrent models exported from max 7,8,9 and when i load them in to max again there are errors , some bones are gone , and some times there are missing polys , and animation but when i export from max and load the model into milkshape and save it out again all the models are in smaller size and all is working perfect ...Show All
Visual C# Delegates and events
Hi, I have been playing around trying to get an understanding of delegates and events - I would like to know if there is any difference between how the following 2 lines of code function ie: public delegate void NotifyFrm1 ( Object sender, ValueUpdatedEventArgs e); public static event NotifyFrm1 NotifyFrm1Action; as compared to: public delegate void NotifyFrm1 ( Object sender, ValueUpdatedEventArgs e); public static NotifyFrm1 NotifyFrm1Action; I get exactly the same results by ommitting the word event. thanks -Barb well it depends what you want to do, what exactly are you doing What is your code Events are needed or a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to draw an irregular polygon ?
Hi .. the question looks simple...but maybe isn't it as it sounds.. I want to draw an irregular shape.. as this : IMAGE2D I would like to know it there are an object and the methods in oreder to to build an irregular shape. How can I tesselete an irregular shape in two dimensions If You have any suggestion please tell me something about it.. I'm a bit confused about tesselletion in this case. Thanks in advance If you just want to draw an outline then jims link goes to an xna tutorial on drawing lines. If you are pre XNA then use the D3DXLine class (C++) or the Line class (Managed DIrect) If you want to draw the whole polygon then you need to perform trangulation. See http://mathworld.wolfram.com/ ...Show All
Windows Forms Custom types in application settings
Hi, I think I am missing something here so any pointers I'd be grateful... Using the custom settings designer in VS2005 to define application settings, there is a type column. When creating a setting and choosing a type you can select "browse" and "Select a Type" dialog box is shown. A list of usable types is displayed.. how do I get my own custom types into this list I have defined a simple data entity class in the same project as the settings and I want to use it as a type in the settings designer (.. I don't want to be able to edit it in the designer ... yet). Thanks! Hi, Could you please try out this link. Hope this helps. http://msdn.microsoft.com/library/default.asp url=/libra ...Show All
Visual Studio Tools for Office Word 2007 Content Control in a Text Box
Has anyone tried to access Word 2007 content control while it is in a text box It seems that content controls aren't enumerated when they are in text boxes, but when I convert text box to frame everything works OK. I've tried plain and rich text content controls. Document doc = Globals.ThisAddIn.Application.ActiveDocument; foreach (Word.ContentControl myControl in doc.ContentControls) { string myStr = myControl.Tag; MessageBox.Show(myStr); } Word 2007 B2TR, VSTO 2005 SE final Thank you for quick reply. You've understood me correctly. I am already using frames so I don't need text boxes, but have run into some issues with older documents which had to be adapted to use content cont ...Show All
Visual Studio 2008 (Pre-release) Autocomplete in a combobox or a textbox
Hi all I need your advice on how to make autocompletion on a textbox or combobox in WPF. The combobox has a fine autocomplete functionality, that i could use, but i do not want the combobox to show the combobox button and enable the popup. Can the combobox button be disabled and hidden so that only the textbox and its autocomplete functionality is visible to the user. Alternatively - how can i combine a standard textbox with a selector functionality that will allow me to implement an autocomplete functionality based on on a collection datasource. help will be greatly appeciated BR mr. knowtoolittle Hi, For the TextBox, you could use ComboBox with a custom Template which hides the button and ...Show All
