Software Development Network Logo
  • Visual C++
  • Visual FoxPro
  • Microsoft ISV
  • SQL Server
  • Windows Forms
  • Windows Vista
  • Game Technologies
  • Audio and Video
  • IE Development
  • VS Team System
  • SharePoint Products
  • Smart Devicet
  • .NET Development
  • Visual Basic
  • Visual Studio

Software Development Network >> My Name is Adam's Q&A profile

My Name is Adam

Member List

dreameR.78
RizMan
JV Chevy
Rosetta
hcoded
mruniqueid
Thunder2002
Eric SVM
Wolf5
Maaloul
zdrae
vtortola
FranklinBAH
Robert3234
sharyl
Mark064
herbfl
Kevin Porter
remitdlo1944
Blader
Only Title

My Name is Adam's Q&A profile

  • Visual Studio 2008 (Pre-release) RC1: Parsing issue?

    When I try to open a page in Cider, I get a parsing error from my main application XAML. Here's the error: Error 1 Value '/Library;component/Skin/Default/SkinStyle.xaml' cannot be assigned to property 'Source'. C:\...\App.xaml 8 29 Here's the XAML: < Application x:Class = " App " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > < Application.Resources > < ResourceDictionary > < ResourceDictionary.MergedDictionaries > < ResourceDictionary Source = " /Library;component/Skin/Default/SkinStyle.xaml " /> </ ResourceDictionar ...Show All

  • Visual Studio Express Editions warning C4244: '=' : conversion from 'double' to 'float', possible loss of data

    Hi, I'm having the following error: warning C4244: '=' : conversion from 'double' to 'float', possible loss of data in this code: float *in1 = inputs[0]; float *in2 = inputs[1]; float *out1 = outputs[0]; float *out2 = outputs[1]; float previous1 = *in1; float previous2 = *in2; while (--sampleFrames >= 0) { // filtering (*out1++) = (0.5 * *in1) + (0.5 * previous1); // here (*out2++) = (0.5 * *in1) + (0.5 * previous2); // and here previous1 = *in1; previous2 = *in2; } Why Many thx You have specifed the constants 0.5, which default to type double. To inform the compiler that they are floats, add the 'f' suffix like 0.5f ie: while (--sampleFrames >= 0) ...Show All

  • .NET Development CLR and thread deadlocks

    Hello, I'm hosting the CLR (.NET 2.0) in an unmanaged C++ app. The CLR is used for calling C# plugin functions through IDispatch. The C# plugins are COM visible classes and are created from the app main UI thread. They are mostly used for accessing the app through a COM primary interop assembly generated with TLBIMP.EXE. The interop between C# and the app is achieved through the default Microsoft COM wrappers. This is all working fine but I'm having a problem when the C# functions are called by the app from a worker thread. At this point the CLR attempts to interop with the app via the UI main thread which is causing a deadlock because that thread is locked while the worker thread is executing. From what I see in the call stack (b ...Show All

  • SQL Server Virtual Machines - for SQL SERVER

    Does anyone have any documents that show the performance hit of moving sql server 2000 from physical hardware to Virtual Server 2005 or VMWare for that case... Like kb articles or whitepapers so far all I am seeing is articles recommending the move in Dev and Test scenarios - no articles recommending it in production and none warning against the move either You have a better shot for an answer on the " SQL Server Database Engine " forum, so I'm going to move this thread over there. ...Show All

  • Visual Basic How to get user's dekstop name?

    Hi! I'm begginer on Visual Basic - so at starting i have a simple quoestion: How to get desktop name of a specified user I need it for ProcessInfo structure... Thx in advance for help... In fact my goal was presented here , but no one replied, so I decided to ask forumers step-by-step. As you've read my post in above link,you know what the problem is. :) The solution I'm trying to make is set the service account for administrator and using the 'desktop' field of StartupInfo struct allow the service to interact with desktop. That's why I want to extract the user's desktop name... ...Show All

  • Visual Studio VB.Net ReportViewer Local Mode Windows Forms Project

    I work in VB.Net and I've got windows forms project that uses the ReportViewer in local mode.  When I run my report using Visual Studio 2005 everything looks fine.  The form pops up, a little green progress image displays, and the report loads just the way I want it to.  However, if I run the .exe outside of Visual Studio this is not the case.  The form pops up, but instead of the green progress image, the report displays the message "Report processing was cancelled." and a few seconds later the report displays just fine.  I've downloaded sample projects of a similar nature that were written in C# and I do not get this same problem.  I tried downloading Visual Studio 2005 SP1 and installing but that did not ...Show All

  • Software Development for Windows Vista Communication with the underlying transaction manager has failed

    Does anyone has any idea I have to resolve this exception: Communication with the underlying transaction manager has failed InnerException "Error HRESULT E_FAIL has been returned from a call to a COM component. (System.Transactions) ------------------------------ Program Location: at System.Transactions.Oletx.IDtcProxyShimFactory.ReceiveTransaction(UInt32 propgationTokenSize, Byte[] propgationToken, IntPtr managedIdentifier, Guid& transactionIdentifier, OletxTransactionIsolationLevel& isolationLevel, ITransactionShim& transactionShim) at System.Transactions.TransactionInterop.GetOletxTransactionFromTransmitterPropigationToken(Byte[] propagationToken) " I've tried all the solutions from http: ...Show All

  • Visual Studio How can I create a command bar Popup in word?

    Hi every one , I would like to add a command bar Popup to office word 2003,for this reason I created an Com Addin project with visual basic ,I can see the result of my project in word successfully ,I mean when I open word there is my popup in the Standard Command bar,but when I close the word I expect the code in the "OnBeginShutdown sub" is doing and the Popup is deleted ,I see this code is doing but after that when I open the word the My popup there is in the word and it was not deleted ,My code is same as below : Public Sub OnStartupComplete(ByRef custom As System.Array) Implements Extensibility.IDTExtensibility2.OnStartupComplete Dim oCommandBars As CommandBars Dim oMerdciBar As CommandBar On Error Resume Next ...Show All

  • Visual C# Reading and Writing Excel Spreadsheets Using ADO.NET C#

    Hi all, (apologies if this is in the wrong section) I am trying to read and write to an excel spreadsheet in c#. I want to put a web form on the front-end that will allow the user to read and write to the spreadsheet. This is a good tutorial i found: http://davidhayden.com/blog/dave/archive/2006/05/26/2973.aspx Though i don't know where abouts to put the code. Any help, any working examples please Thanks in advance. Why are you trying to run a website from an Excel file The example you gave is a standalone app to place data into a database...hence it doesn't fit in your scheme. You may want to look into Visual Studio Tools For Office (VSTO) and create a C# addin in a specific Excel file ...Show All

  • Windows Forms Help with Heading - Monthly Calendar Control - Windows Application

    Is there a way to find out the date which has been selected and if it is bold or not Hi,testing2332 is this what you want private void monthCalendar1_DateSelected(object sender, System.Windows.Forms.DateRangeEventArgs e) { textBox1.Text=monthCalendar1.SelectionStart.Date.Year.ToString(); textBox2.Text=monthCalendar1.SelectionStart.Date.Month.ToString(); textBox3.Text=monthCalendar1.SelectionStart.Date.Day.ToString(); } ...Show All

  • Visual Studio Counting rows in datasource with specific filter

    Hi, I have a dataset that consists of a number of rows , each row contains a rownumber, a rowheader and a sub_rowheader column. What i want to do is count the rows for a specific row number where the sub_rowheader is empty. I need this to show or hide textboxes on my report. If a specific row has no subrows i don't need to show the textbox. ...Show All

  • SQL Server update variables with scripting task

    Helo, I'm using a simple scripting task to update the value of a variable: Public Sub Main() Dim EndeJahr As String EndeJahr = InputBox("Text") Dts.Variables("EndYear").Value = EndeJahr MsgBox(Dts.Variables("EndYear").Value) Dts.TaskResult = Dts.Results.Success End Sub The Package is working fine and the message box shows the actual value. My problem is that when I change the of value of my variable, the value of variable is not changing, when I restart my package!!! What's the problem any ideas Alright, now we're nailing this one down. Variables only live in scope at runtime. As soon as the package runtime is complete, the variables revert back to their default values that you had already ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. aaaaaaaarrrrrrrrrrrrrrrrrgggggg!!!!!!

    I do not sleep the two days because of XNA framework… because it delays in such a way ... I am starting to hear voices ...I have fear… fear to sleep and the SDK not to leave. MClever wrote: Well just so you're well aware, there are ninjas trying to kill you.... Well, as long as there's not also pirates and robots. ...Show All

  • Visual Basic How to get "References" to show up in the Solution Explorer again...

    In VS 2003, under each project, there used to be a tree node for "References", so you could change/view them on the fly. Now, in 2005, that tree node is gone. The only way I've found that you can get to project references is by opening MyProject and going to the References tab. Is there any way to get the tree node back in the Solution Explorer so I can see my references without opening MyProject P.S. I've noticed that the "References" tree node still exists for C# projects. WATYF Ken Tucker wrote: If you press the show all files button in the top of the solution explorer the references node will be shown Excellent... that's exactly what I needed. Thanks. WATYF ...Show All

  • Visual Studio Express Editions Does Visual C++ express support .template files?

    I am trying to build a template class as part of an assignment and I am hving trouble getting the compiler to work with .template files, it will let me save one and work in one, but I do not get the text formating such as key words becoming bold and preprocessors changing n color, do I have to sownlad support for this type of file Have a read of these articles, i hope they help: http://blogs.msdn.com/johanl/archive/2005/04/18/409294.aspx http://jasonkemp.ca/articles/206.aspx ...Show All

©2008 Software Development Network