Sending command to device over internet and getting the response back
public string GetScaleWeight(string val1, string val2)//GetWeight contains the code to fetch theweight from the scale// { try { Socket sc = new...
View ArticleIs it acceptable to define a “module” and “class” within a single .VB element?
Imports System.Runtime.CompilerServices Module ExtensionsTest <Extension()> Public Sub ToConsole(ByVal Ex As Exception) Dim ForeColor As ConsoleColor Console.ForegroundColor =...
View ArticleHow To Generate Random Charecters Using C#, I Tried The Code Below But It...
private string GetUniqueKey() { int maxSize = 8 ; int minSize = 5 ; char[] chars = new char[62]; string a; a = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; chars = a.ToCharArray();...
View ArticleVS 2010 crash when added a COM control of third-party
My project is using VB.NET to control a device of Mitsubishi with MX Component software. I created a form, then in Toolbox - Common Controls, I added a COM Component of Mitsubishi. Everything was...
View ArticleAssign stored procedure to form and Add Parameter
private void toolStripButton1_Click_1(object sender, EventArgs e) { ControlNames.Clear(); if (pnControls.Controls.Count > 0) {...
View ArticleConnectors won't stay attached to shapes after I move their connection point...
I editing a very large organizational chart and every time I have to move a connector to the side I want it on or move the connection line into the path with other connection lines (like I want) the...
View ArticleSource of data shape
Hi,How can I see the source of the linked data to a shape. For example: I've just opened a Visio document within linked shapes to, I think Sharepoint, but how can I check the source of the data is...
View ArticleExport Database Diagram Meta Data
Hi, I've created a database diagram, and have taken a considerable amount of time to set required / PK flags, data types, and add column descriptions.Now I've gone to all that effort, I need to extract...
View ArticleDatetime.ParseExact
Hello I am trying to convert the Date's coming from my database to standard. However I want to accomplish this within my script rather then doing the derived columns method. This is what I am trying to...
View ArticleExcel data import to create a Visio brainstorming diagram
Need to create a Visio brainstorming diagram from excel data. I do not want to link data to a brainstorming diagram.I only want to create an initial "blank" Visio brainstorming diagram from an excel...
View Articlewhere can we download extra fills for visio 2010
I draw my construction plans in Visio 2010. Need extra fills to symbolize different material, like concrete/wood/masonry sections
View ArticleTemporarily disable Snap to Grid while resizing
Hi, I would like to leave "snap to grid" on as a general setting, as I use it most of the time, but once in a while I need to resize objects more exactly than a grid allows. I *think* I used to be...
View ArticleHaving problems pasting Visio 2013 Drawings into Word 2013
Hello I am having issues pasting Visio 2013 drawings into Word 2013. For some reason when I select and copy the visio drawing into Word 2013, a portion of the drawing is cut-off and I cannot resize it...
View ArticleLink to visual studio web express registration
hey i was trying to register the visual studio 2012 web express version and the official registration link says the link has expired , can someone please post a link to register it..
View ArticleVisual Studio 2011 on window 7 64 bit
Can anybody help me, I don't know how to run a code by using Visual Studio 2011 on window 7 64 bit.
View ArticleLink Visio drawing to SQL DB
Hi everybodyI need to create a tree describing the hierarchy of the company. I've got Visio Pro 2010 and a SQL Database from a HR program where all workers, there bosses, positions and everything is...
View ArticleWhat is this error???
Error1 'System.Array' does not contain a definition for 'Remove' and no extension method 'Remove' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or...
View ArticleWhy no 'custom properties' like other Office apps
Doing some projects that involve integration with SharePoint lists and to drive these lists we are planning on using the custom properties of Office documents (word, excel, & even outlook email)....
View ArticleVisio 2010 - shape search not working
Installed the free Vsio 2010 Premium software and appeared to work fine. Tried using shape search function and it asked to download addtional software (I believe "Windows search services") which I did...
View ArticleVisio Pop-Ups
Is there any way to add text to an object or image, than only appears when the pointer hovers over or clicks on the object, that also may be possible to transfer from visio to word or even pdf?
View Article