A-Style's Q&A profile
Smart Device Development transfer files from emulator to desktop
Hi, i have a simple application and i would like to know if i can transfer files between the emulator and my PC. Thanks SP 1. yes 2. need more info to really help you. you mean, programatically 3. this probably ought to be in the emulator forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=76&SiteID=1 ...Show All
Visual Studio Macros menu item missing from Microsoft Visual Studio 2005 Team Suite
I just installed Microsoft Visual Studio 2005 Team Suite and noticed there is no Macros (and any other submenu items). I can run macros by using toolbar customization, but I don't know how to get to Macros IDE. Can someone give me some guidelines how to correct this Thanks Rad You can try two things: 1) Click the Tools, Customize menu, Toolbar tab, select MenuBars and click the Reset button 2) Click the Tools, Import and export settings, and select the reset all settings radiobutton ...Show All
Microsoft ISV Community Center Forums Upgrade problem Access 97 and Access 2003 on same machine
Hi We have finally started to upgrade to Office 2003, I still have a copy of Access 97 on my machine to maintain databases which cannot be upgraded until the roll out is finished. However, when I run my code now I am getting a problem. Access 97 now will not use the Trim$ function is an SQL statement, I get a message that the function is not available. Trim$ will work outside of an SQL statement e.g. Debug.print Trim$(" some text ") Any ideas where my problem stems from ...Show All
Visual Basic Datagrid refresh after record insert
Hello, I've the following code to insert a record into an MS Access database when clicking on Button1: CODE Private Sub Button1_Click(ByVal sender As System .Object, ByVal e As System.EventArgs) Handles Button1.Click con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=""C:\Programacao\Visual Basic\Inapal\ReportIt\ReportIt.mdb"";" con.Open() sSQL = "SELECT * FROM [Scrap]" da = New OleDb.OleDbDataAdapter(sSQL, con) da.Fill(ds, "Scrap") Dim dsNR As DataRow Dim cb = New OleDb.OleDbCommandBuilder(da) dsNR = ds.Tables("Scrap").NewRow dsNR.Item("Tipo_Peca") = ScrapCombo.SelectedValue dsNR.Item( ...Show All
Windows Forms Progressbar in Managed C++
Hello! I found this link http://www.codeproject.com/miscctrl/text_progressctrl.asp about a Progressbar with text in it. I am programming in Managed C++ and I was wondering if there is a similar progressbar out there somewhere that I can use in my managed applications I am trying to code my own one but I cant figure out how to get the text to behave like it do in example in the link. Is there any tutorials about this in managed C++ JeroGrav wrote: well one of the advantages of .NET is that you can take something written in VB.NET and plug it into your C++/CLI application or your C# app. The only requirement is that it must be in a separate project. So you could have a C++ exe that uses a VB DLL. Once its com ...Show All
Visual C++ Blue tooth API reference
Dear all i have one project which need to connect with blue tooth with PC .. where i can get more information or reference website the question is how can PC it to receive blue tooth hand free API for example ... keep up phone and trun off hand free Please see the Bluetooth Reference ...Show All
Visual Studio Team System Forcing checkin from Source Control Policy
Hi, i've created a custom policy to check the remaining work in the work items before checkin. Our company policy requests that when a work item is set to resolved, the remaining work field has to be set to 0. The policy i have created will check that field and pop up a grid with the invalid work items. I can update the work items from this grid. What happens then is: Even If the work items are corrected, clicking on the Checkin button after closing my window will show the same errors. It's like the window caches the work items. When I activate the window from the policy error tab i don't see the changes i just made. If i close the checkin window and open it back again, everything works fine. What i would like to do is to be ...Show All
Visual Studio unified binding root limitation in Visual Studio 2005 ?
There is a known limitation with the source control binding root in VS 2002 and 2003 (http://support.microsoft.com/ kbid=896702). They claim on the above MSDN page is that the limitation does not exist in VS 2005. However, I am running 2005 and I have just seen this issue when I tried to add some header files from a folder that is a sibling of the folders my current project is in. The new files are shared from a different project and I really don't want to move them. VS 2005 pops up a dialog that says "Some of the files you are adding are outside the project's binding root, etc. etc...." Any ideas Thanks in advance. Mark Hi Mark, The article http://support.microsoft.com/ kbid=896702 refer ...Show All
Smart Device Development Using HHP.DataCollection.Decoding.DecodeControl to scan the barcode
On a form, there are 3 textboxes to scan barcode. I need to know which of the 3 textboxes triggers the scan barcode event, so that I can display the barcode on that textbox. Is there any way to do this ...Show All
Visual Studio 2008 (Pre-release) Petzold XBAP gets unauthorized access exception
When we try to run http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap from one user account on a PC it runs fine but using a different (older) user presentation host crashes with a system unauthorized access exception. Both accounts have computer administration rights. The same thing happens for all other XBAPs we've tried. XAML applications don't run either. Running an XBAP from Visual Studio in debug mode does work. We're using XP SP2 with .Net 3 RC1 installed. Anyone got any ideas what we could look at to rectify the problem Is there any other information we could post to help I have been having this problem for few month and googling for solutions. As far as I could tell, none of solut ...Show All
.NET Development SelectNodes returning no nodes when there is xmlns attribute on the node
I don't know if I'm missing anything here, Here is a sample code snippet that tries to select foo nodes from xml using SelectNodes on xmldocument. In this case nl.Count always returns 0, I remove the xmlns attribute from the xml everything works. I tried passing namespacemanager and the result was the same. Any Ideas xml < TestData xmlns="urn:foo"> < foo > Foo1 </ foo > < foo > Foo2 </ foo > </ TestData > -------- Test Console Application using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.XPath; namespace ConsoleApplication1 { class Program { static void Main( ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin If your application works as expected then the owenrs of WinDoctor might have more details. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C# ProgressBar Dilemma
My user wishes to see visual proof that their app is processing files. I've never used a ProgressBar before and I'm trying to get a test to work before I 'muddy-up' my production app. I've gotten to the point that I can get the Value to display as each record in a file is read; however, when it gets to the final record it displays the following exception: Value of '1894' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value I know what the problem is (there's 1893 records in my test file), I just don't know how to fix it. I've tried to set the record count to it's value +1 ( this . thisProgressBar . Maximum = Convert . ToInt32 ( m_strInputFile . Length / 1024 + 1 ); ), but still g ...Show All
Visual Studio Express Editions How to read specific lines from a text file?
Peeps, may I know how can I read specific lines from a text file For example from the "C:\test.text" containing: Line1 Line2 Line3 How would I only read Line 2 without having to read Line1 This would be similar in the case of reading an *.ini file: [LINE1] Line1 [LINE2] Line2 [Line3] Line3 How would i read Line2 under [LINE2] Thanks in advance No matter what, it has to be in your stream (Buffer) if it's a flat file. If the order is guaranteed your can bring the data into memory and write over it without processing it but it is still "read". But there's another problem, if your order is not guaranteed, you have to read it to know you don't want it. Such "reading" it as demonstrated in this pseudocode ...Show All
SQL Server Cannot connect to server
Hi, I am using sql server 2005 sp1 developer edtion. I have looked at the install logs and all ok, but when connecting to my server (LAPTOP) i get the following error below. I have not changed any of the xml config file, if anyone can help me i would be very grateful. Thanks in advance kered TITLE: Connect to Server ------------------------------ Cannot connect to LAPTOP. ------------------------------ ADDITIONAL INFORMATION: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. (System.Data) ------------------------------ The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. (System.Data) ------------------------------ The type initiali ...Show All
