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

Software Development Network >> n3tster's Q&A profile

n3tster

Member List

Karl Torjus
Chris Langsenkamp
bsrprakash
Antti Nivala
windows_mss
theinspector
ahmed921983
alzikan
kiran1234
pat_seo
DroopyPawn
Morten Dahl
matthew lyden
Pascal Frey
Giminiani
Ghoort
HSBF Lewe
Daticus
Timmy0614
Chris Calderon
Only Title

n3tster's Q&A profile

  • .NET Development Call client's object method/property from remote object

    Here's the scenario: - a client apps (client.exe) and a server apps (server.exe) which will run on separate AppDomain - the server host a WellKnownServiceType called MyServerObject using SingleCall mode. - the client have an instance of MyClientObject (reside on client's AppDomain) - then, the client will remotely call MyServerObject.SomeMethod() The question: - How I can modify some value inside MyClientObject (which reside on client's AppDomain) from MyServerObject which reside on the server's AppDomain I tried to pass MyClientObject as a parameter to the MyServerObject.SomeMethod(MyClientObject obj), but it don't seems to work either. Here's the code snippet (simplified version): server.exe: ChannelServices.Regist ...Show All

  • Visual Basic storing excel.xls files in db - truncated

    My application read/writes binary file data from the filesystem to the data base and sometimes back again This is all in vb.net 2005/sql2005. It works fine except for excel file, .xls. They are the exception. All data is stored in a varBinary(max) column. Images, pdf's, word docs, whatever all work fine, but not excel. Even very small test spreadsheets of 5k fail. "binary data would be truncated" is the exception. Has anyone experienced problems with this type of file A bytes a byte, I thought I call the procs like this: (1) entry.Blob = ReadBinaryFile(tbLookup.Text) (2) If Not EntriesDB.AddEntry(entry) Then MessageBox.Show("The Entry was not added. ", "Data Base Error") 'entries = ...Show All

  • SQL Server Allow user to choose grouping order?

    I have a report which is working off a dataset with 5 columns. Date, Type, Color, Value1, Value2 We would like to set up a report such the user viewing the report could drag and drop column headers and set up grouping in whatever order they want. What would be the best way to do this Is it even possible, or do we have to create a separate report for each combination For example, One report just groups by Date and Type. They might also want to group by Type then Date. Other times we want Date, Type, then color. I used to run the reports in a third party grid which supported this, but since it was all client side, it was very slow for large datasets. You can change the grouping through report parameters. C ...Show All

  • Smart Device Development can i see the registry entires for ARM Device Emulator ?

    hi everyone, i just started to use ARM device emulator. i m not using VS 2005 for my application developement as barrybo had said in previous messages that we can make and run application on platform builder 5.0 itself without using VS 2005. now i want to check the registry for this emulator so can i check it or not i want to check my remote registery for my directshow filter wether it is registered or not if anybody have any idea regarding this plz let me know. thnx in advance zuber saiyed Hi I assume you are using the device emulator to do OS development as descrived here:( http://blogs.msdn.com/barrybo/archive/2006/03/15/552045.aspx ). You can use the norma Remote Registry Editor to check the emulator's reg ...Show All

  • SQL Server MDX - Filter by one date dimension and report on another date dimension

    Hi, I have a fact table in which i have more than one date dimension. The fact table is a periodic snapshot fact table. The Fact table looks like this FactInvoice PeriodKey InvoiceRaisedDtKey InvoiceUpdatedDtKey InvoiceClosedDtKey InvoiceAmount A weekly snapshot of all the invoices are maintained. I need a measure which will give me the number of invoices raised(created) during a given Period. Lexically, count of invoices created in the period to be reported against the Period. Both PeriodKey and InvoiceRaisedDate have hierarchies as follows: Year->Quarter->Month->Week I understand given the nature of the fact table i need to implement a custom rollup to produce the correct count as the count ...Show All

  • Windows Forms .NET Terrarium

    Say guys, couldn't you release the .NET Terrarium code up on CodePlex Let it become a community thing ...Show All

  • SQL Server Creating tables with SQL Scripts

    In sql server 2003 I would create tables with generated sql scripts. This way I could easily create duplicate dev environments. Now in SQL 2005 Dev edition I try to run my scripts to create tables. I create a db [MSS]. They run successfully but there is no table created. (example script)USE [MSS] GO /****** Object: Table [dbo].[KataNames] Script Date: 08/17/2006 13:28:14 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[KataNames]( [Kata] [char](30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SequenceId] [int] IDENTITY(1,1) NOT NULL, [Description] [char](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Style] [char](25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] G ...Show All

  • .NET Development How do I known when I get a value from a serial port and get it?

    I develop an application with visual basic .net 2003 and my problem is that my program it has to known when a weighing machine gives the weight value from a serial port and read it. I will be grateful if someone can help me.   Ryan, You are missing the point. He said VB.NET 2003, and SerialPort is part of 2005. So there are 2 solution 1. Update to 2005. 2. Write your own class to handle serial port with help of PInvoke. There is some available source on the net for that... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Again - C++ DirectX Error

    Hi, i moved back to the C++ due to .Net memory management( slow down my app), anyway.... i recompiled the DirectX's C++ examples (October 2006 SDK) and when i run the examples a error ocurs, in the tutorials(No DXUtils) the error location is more evident: *this error code is from the Vertices tutorial. The Error: Unhandled exception at 0x6604a92f in Vertices.exe: 0xC0000005: Access violation reading location 0x00f2b000. The Location: LRESULT WINAPI MsgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) { switch( msg ) { case WM_DESTROY: Cleanup(); PostQuitMessage( 0 ); return 0; } return DefWindowProc( hWnd, msg, wParam, lParam ); The error appears at the end of this function . (green arrow in debugger....) -> ...Show All

  • .NET Development .NET 3.0 breaks printing subsystem on non-english XP / VERY ugly effects

    After installing .NET 3.0 on non-english XP two things will break parts of the printing subsystem: - parts of XPS are installed in English, i.e. unidrv.dll / unidrvui.dll / unires.dll etc. are non-localized As a consequence Printing dialogs of all unidrv.dll-based printer drivers show mixed output localized/english. And the default Input Tray is set to 'Automatically Select' even on a german XP which leads to strange effects like printers suddenly asking for paper in the Manual Tray instead of using Tray 1 as usual. - unidrv.dll / unidrvui.dll / unires.dll etc. are Windows Vista DLLs and incompatible with many XP Printer Drivers As a consequence some printer drivers will print all pages of multi-page documents on one sheet, all ...Show All

  • Visual Studio Express Editions VB Express 2005

    Where can I find info explaining how to connect to an existing Access Database. The only stuff I have found so far is for connecting to SQL Express 2005. Use the oledb namespace and check your connection string at www.connectionstrings.com Although most of the samples ( http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx#data ) deal with sql server...the principle of working with a data store is the same....just use the appropriate data namespace (oledb for Access) ...Show All

  • Visual Studio 2008 (Pre-release) Which eventhandler to use to get ItemCollection before they’re displayed?

    Im using a ListBox where I manually places the ListBoxItems out. Which ListBox event can I use to get the ItemCollection before the items are displayed . In ListBox.Loaded event the ListBoxItems has not been set (myListBox.Items.Count = 0). In the SelectionChanged handler i can get hold of the items before they are displayed but of course i do not want to use that eventhandler. Have a nice day /erik Cheers Kalle.. looks like we more or less the same problem.. gonna try it out when I get home from work /Erik ...Show All

  • Visual Studio Tools for Office outlook add-in 2002 vs 2003

    I have built an outlook add-in on my machine (has outlook 2003) and is running fine. But when running the same dll in another machine (has outlook 2002) it fails. Any idea why Vikas Verma wrote: From outlook help-> About select disabled items and check if there is any entry inside disabled items. If so then re-enable them and restart outlook to give it a try didn't work either. ...Show All

  • .NET Development Error in Addition of Double Variables

    Hi, This is Aravind. I got an error due to addition of two varibles which is declared as "Double". It shows the wrong sum up. Sample Code is as below: Dim amt1, amt2, z As Double z = 0.0 amt1 = 74.68 amt2 = 168.49 z = amt1 + amt2 The Answer should be 243.17 But ...It shows "243.17000000000002"..... Why it happens ....it will leads to Big problem.... when summing up the Money values.... Can u please clarify this.... Its urgent.... Regards Aravindkumar.P Y ou can't always express the exact value using floating point data types; see http://docs.sun.com/source/806-3568/ncg_goldberg.html for a more in-depth discussion. Please ...Show All

  • .NET Development Time zone conversion problems

    Hi, I'm trying to parse a date time string that is always in ET time zone. The resulting time should be converted to local time. I could do that by backadjusting the ET time and converting to UTC. However, the issue is that I don't know if ET is currently in DST or not, so that I don't know how many hours I have to backadjust. Is there a framework built in way to get the UTC offset for any time zone Thanks, Tom There seems to be no "easy" solution for this problem. I was once tasked to write a "simple" report that displays statistical data for a Web app for one day; problem is the defintion of one day in relation to a specific region is different depending on what time zone the person ...Show All

©2008 Software Development Network