nbrege's Q&A profile
Software Development for Windows Vista Missing data after passing an object into a workflow instance
Hi, I have encountered a very strange problem. I am developing a workflow with web service activities, I am passing an object from my client through my workflow exposed web service and saving the object into the database. When I debug and look at the state of the object within the workflow it is missing data. I have checked the state of the object from within the web service (by overriding the workflow web services methed in a derived class) and the state is complete at that point. So it is just the trip into the workflow instance that is causing the problem. I understand that passing objects into a workflow instance uses a queue and that the object is serialized / deserialized using binary serialization during this process. With thi ...Show All
.NET Development Connecting vb.net to Access form
I want to be able to connect vb.net to an access db I have variables with values from vb.net that I need to use I created a form in access of textboxes, all individually labeled. is there a way I can connect to Access and be able to fill this form's fields and "hit" the submit button to populate this DB Thanks in advance!! Here are somne great data access samples to learn from: http://msdn.microsoft.com/vbasic/downloads/code/101samples/#data Basically you want to make an oledb connection to the database and then use an oledb command object to send an SQL Update/Insert statement to the database... Here is some great info on ADO.NET: http://msdn.microsoft.com/library/default.asp url=/library/e ...Show All
Visual C# Understanding Threading
I am trying to understand threading... its been hunting me ever since c and pythong.. and now c# and I can't hide from it anymore... I was wondering if some one can show me a really simple threaded snippet and explain it to me if ok... as we speak Im creaing a pdf file about threads.. but It's being a pain. I need some baby steps here.. and this is one of the only place to look for help.. besides other forums that I know. One good article that I would refer you to is this one: http://msdn.microsoft.com/msdnmag/issues/03/02/Multithreading/ It starts off with the basics (why multi threading) and then addresses some of the main issues when dealing with multiple threads e.g. accessing windows controls from the UI thread and locking. Ke ...Show All
Internet Explorer Development reproducible Access Violation closing x86 version of IE7 on XP Pro x64
There is a reproducible 0xC0000005 Access Violation in IE7. Simply launch the x86 (32-bit) version of IE7 on Windows XP Pro x64 Edition, then close it by clicking the X in the upper right corner to induce the crash. This problem doesn't occur with the x64 version of IE7, or the x86 (32-bit) version of IE7 when run on x86 (32-bit) versions of Windows XP. This type of problem is almost exclusively caused by buggy plugins. Try starting IE without add-ons ( http://www.enhanceie.com/ie/troubleshoot.asp ) ...Show All
Windows Forms abstract methods
hi, how do i write abstract methods in a class. methods that need to be implemented in classes taht inherits the parent. class a sub a() end sub sub b - i want all class that inherit a to be forced to implement sub b in their way. how do i thanks end class I did this and then sat and look at it and wonder why so many classes i come from a strong java background, but i wonder what i am doing here,. am i getting the design wrong or pushing it Public Interface iInvoices Sub FetchData( ByVal Pono As String , ByVal p_b As Integer ) Sub newBill( ByVal billid As Guid, ByVal date_ As Date , ByVal suppliercode As String , ByVal billtype As String , _ ByVal typecode As ...Show All
Visual Studio SDK - Classs View hosting in side UserControl
Hi, Does anyone know wether it is posible to host the Class View in side UserControl and be able to pluggin or have your onw data model working on/with it any hints/documentation/code snipptes would be great! Cheers, Fred ...Show All
SharePoint Products and Technologies Possibilites to store and retrieve data under WSS 2.0
Hi, I would like to know what are the possibility to store and retrieve data from the Web Part controls to any data store. XML seems to be one possibility, are there any other.... Is it possible to create table in SQL Server 2000 and interact with it from WSS 2.0 , an answer of Yes or No would be of great help. regards, Alex ...Show All
Visual Studio All Breakpoints are being marked as question mark '?'
I wrote an addin which compiles and had worked fine. When trying to debug my ms-word addin (in unmanaged Cpp), breakpoints are being marked as question mark ( i.e. ' ') and the ms-word app loads without hitting the break points and without loading the addin. I verified that Project/Properties/C++/General/"Debug Information Format" --> is set to "Program Database for Edit & Continue (/ZI)". As it seems to me the dll is not being loaded by the hosting application (ms-word). Thus, it may be the reason for not hitting the breakpoints. Does any one have any idea Best regards. Hi Viorel and thanks for the reply, You where completely right, the MessageBox wo ...Show All
Visual Basic Interop Forms Toolkit 1.0 | Wrapper
Hello Everybody here, Interop Forms Toolkit 1.0 seems to be very nice. Unfortunately the VB Express Edition has no Addin in the Tools menu for generating InteropForm Wrapper Classes. To do it manual seems not to be so easy... Any other possibilities With greetings from Germany Josef Hi Josef, I'm surprised that VB6 is shutting down on you...if you see an error message please let us know. The fact that you're seeing mscoree.dll is expected behavior: this is the file the .NET Framework uses to load the CLR into memory when called by COM. Basically it's the file that handles creating your .NET object for VB6. Hope that helps, Jonathan ...Show All
Microsoft ISV Community Center Forums precisely position embedded charts in worksheet
I am embedding 4 charts into a worksheet and would like to position them into a nice 4 quadrant view. However, when recording a macro, the position of the chart at the end of Chart.Add, etc routine is arbitrary. Similarly, when I record manually repositioning the chart and then replay the macro, the results differ. Here is the code for creating 2 of the 4 charts. The recorder uses the ActiveSheet.Shaped("chart 1").IncrementLeft nnnn and .IncrementTop nnn statements to perform the repositioning. Any suggestions for predicatably positioning embedded charts within a sheet KC Charts.Add ActiveChart.ChartType = xlLineMarkers ActiveChart.SetSourceData Source:=Sheets("Cancellation - Swap Analysis"). _ Range(&q ...Show All
SQL Server How to stop PAD_INDEX dein being scripted
Our team checks SQL scripts into version control. On my machine, however, the generated script always differs slightly. When I generate a create table script, the primary key part always has PAD_INDEX = OFF. Nobody else's server generates this. Does anyone know what option or setting I need to change to prevent PAD_INDEX = OFF from being output WITH ( PAD_INDEX = OFF , IGNORE_DUP_KEY = OFF ) ON [PRIMARY] Thank you for taking the time to copy and paste. However, I don't see how your post is relevant. I am asking what determines whether the PAD_INDEX option is included in scripted CREATE TABLE statements. ...Show All
Windows Forms vb.net form...linking listbox and label problem
I have created a database for a little wrestling game I'm making. In the table, Wrestlers, are the firlds WrestlerName and Morale. I have a listbox which displays the Wrestlers Name into a label at the top in huge font but I can't get the Morale label (lblMorale) to update with the selected item in the listbox. Can anyone help me please Your code looks fine and works well when I tried it with my own database and query. You might just want to preselect an item so the label is set after the form displays. Add this line to the bottom of Form2_Load: If ListBox1.Items.Count > 0 Then ListBox1.SelectedItem = ListBox1.Items(0) ...Show All
Visual C++ Help Me Please
Hi im learnig VC++ 2005 and something wierd is goin on with my compiler.. when ever i build and run my projects an error pops up saying "This Application Has failed to start because MSVCP80D.dll was not found. Re-installing the Application may fix the problem." but here is the wierd part the file MSVCP80D.dll is present in my C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c folder i can see it but how come VS is not detecting it and i even tried re-installing the software but it doesn't seem to work can someone please help me!!! Thanks Ok, then try adding the following to Project > Properties > Configuration Properties > Linker > Manifest File > ...Show All
SQL Server Insert to a Linked Server possible via Service Broker?
I have configured a non-SQL linked server (via an OLE DB provider) and I wish to insert data into it via Service Broker but I am getting the following error in the SQL Server log: The activated proc [dbo].[sp_ mytableServiceProgram] running on queue TestDB.dbo.mytableQueue output the following: 'Cannot promote the transaction to a distributed transaction because there is an active save point in this transaction.' As you see below, my strored proc. is not issuing any 'save trans' statements, so why is it not allowing me to wrap my code in a transaction How else can I use a transaction (in order to not lose anything from the queue) and yet still be able to insert to the linked server CREATE PROC sp_mytableS ...Show All
.NET Development Issue About Registry Entry Through Setup
Hello All Actually I have made a setup project that has to make the entry in registry.The specified dll will be in the %Systemdrive%Program Files folder at the client machine from where the setup will run. I have make this registry entry value type as Reg_EXPAND_SZ and its path as %Systemdrive%Program Files but when this setup runs it makes the entry as %Systemdrive%Program Files, I wonder why setup don't replaces the SystemDrive with (c:/,d:/) while it runs. I want the entry with the C:/ProgramFIles ....and I wanted that setup to detect the systemdrive at the Target Machine and then replace the variable "systemdrive" with actual drive and then make the entry in the registry. your help in this ...Show All
