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

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

pfh

Member List

pawelek
Closer
ManConfusedByMouse
Robert_01
nhaas
daydreamsy2k
JAMES123321
Behrooz PB
Faraz_Ahmed
Tom_Liu
convivial.developer
Chrisull
TeriB
AvalonNewbie
Patrick Tremblay
saarar
Kevin_B
OmegaMan
aero1
__jjay__
Only Title

pfh's Q&A profile

  • Windows Forms can't use update method on my own dataadapter

    Hi, I made a dataset and a dataadapter to fill 2 datagridviews - this working alright. My problem is, when I change the "Faktura" datagridview, I have made a button, which i will use the update command on the dataset. But intellisense don't catch the "da2" (Dataadapter) I've created. If I use a da2.update in the Faktureringssystem_Load_1 the intellisense shows the update method. Why can't I use it on my btnFakturaGem_Click button Min code: public void Faktureringssystem_Load_1(object sender, EventArgs e) { this.firmaoplysningerTableAdapter.Fill(this.fakturasystemDataSet.Firmaoplysninger); this.produkterTableAdapter.Fill(this.fakturasystemDataSet.Produkter); //create a connection string to ...Show All

  • SQL Server Deploying with custom Forms Security enabled

    I have recently enabled a custom Forms Security on my Windows 2003 Server w/ SQL Server 2005 Reporting Services. All the functionality I would expect is working properly, except for the ability to deploy to the reports server from inside my Visual Studio 2005 Reports Project. The 'Reporting Services Login' window opens, prompting me for a username and password. Regardless of what is supplied, the window keeps reappearing, and I am unable to deploy. I am able to upload the files from within the Report Manager, but that is time consuming and inelegant. Any help would be greatly appreciated! I too am stuck: I have setup Forms Authentication on RS2005 and the report manager is working swell it redire ...Show All

  • Architecture OOP Design Question - Need an opinion...

    I know there is no "100% correct" way to design the following but any suggestions or shared opinions would be appreciated: I want to create a Customer business entity. Should this Customer class only contain properties and simple validation or should it also contain all the business logic and CRUD functions Should I create a separate class called CustomerService that handles logic by passing around and working with the Customer entity Example: How to add a new Customer 1) All domain logic in one Customer object . Customer.Name = "Bla" Customer.Save OR 2) Customer object to hold properties and Service object to perform business logic. Customer.Name = "Bla" CustomerFactory.AddCu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Physical Memory Question

    Also (I asked another questio about framerate earlier) what is the norm for the amount of physical memory a 2D usaully takes. Mine, according to the Ctrl-Alt-Delete performance counter, takes up about 220 MegaBytes of physical memory. I don't really think that most games take that much. So my question is, What is the normal amount of physical memory for a game to take It DOESN'T MATTER. The physical memory shown in the process manager is mostly a big, fat lie, for various technical reasons having to do with how virtual memory is allocated and managed in Windows. If your game runs fine on the target machine, then it's using the right amount of memory. It's that simple! We once developed a tool that kicked all pages out for a given pro ...Show All

  • Visual Studio Team System Full Team Suite download

    Will there be a complete Team Suite image which will include all 4 Team Editions ...Show All

  • Visual Studio Express Editions cl.exe -

    Hi guyz, I got the following problem with cl.exe When i try to compile my cpp file through IDE its ok, but when i go command line and use cl.exe i get the following error: C:\Documents and Settings\Dmitry\My Documents\Visual Studio 2005\Projects\MyDll\MyDll>cl /DLL MyDll.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. MyDll.cpp Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. /out:MyDll.exe MyDll.obj LINK : fatal error LNK1561: entry point must be defined It is a dll project file, and it has main as an entry poin (DllMain) it looks like that: #include &qu ...Show All

  • .NET Development HttpModule Strange Behaviour

    Hello All, I've implemented a very simple HttpModule which goal is to add a simple HTML comment at the bottom of every page/webservice served by IIS. I've configured the web.config file properly. What happens, in debug mode but even when deployed on my local IIS, is that the events are intercepted correctly (all the breakpoints on Init method and the callback function associated with the event PreSendRequestContent are fired) but none text is added. Any Idea I've pasted in the following the source code ofthe HttpModule. public class PageSignatorHttpModule : IHttpModule { HttpApplication httpApplication; public PageSignatorHttpModule() { } public void Dispose() { throw new Exception ( "The method o ...Show All

  • Visual Studio 2008 (Pre-release) Custom ListBox Panel

    Hi, I'm right now working on an application that requires some user accounts history selection. The functional requirement is: present all the user accounts (specific to this application) that were used previously on the machine. In order to present this in a convenient way as this application will mainly be used on public computers, I wanted to provide the end user with a good experience. First, each user account is composed of a picture and a name. Therefore, I want to create a ListBox that would be populated by ListBoxItems defined as a simple vertical stack filled with the picture and the name of the user. But as they might be too many users to be displayed correctly, I also want to manage the number of ListBoxItems d ...Show All

  • .NET Development Create a query based on data in the dataset

    I'm looking for a way to retrieve data (e.g. for a report) from the dataset. To retrieve data from the database directly is no problem. Also it is no problem to retrieve the data from one table of the dataset, but I now want to do a select statement over more than one table and the data must come from the dataset. Is that possible And if so, how Do you need to join DataTables inside of the DataSet If yes, then you could use DataRelations between multiple DataTables. Here is also sample of the helper class to join http://support.microsoft.com/kb/325688/en-us ...Show All

  • Windows Forms How to stop appended columns in DataGridView when using DataSource reference?

    Using the form designer, I create a DataGridView with ten evenly spaced columns. I placed a button that when clicked generates a datatable that is then assigned to the DataGridView object. Instead of placing the values in the designed columns as expected, the designed columns remain blank and the data table values are appended to new columns on the DataGridView. private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { double HighDiffPressSpan = 500.0, MedDiffPressSpan = 100.0, LowDiffPressSpan = 25.0, StartPress = 200.0, PressIncrement = 10.0, StartTemperature = 30.0, TemperatureIncrement = 10.0; DataTable ^dt = gcnew DataTable(); for ( int i = 1; i <= 10; ...Show All

  • Smart Device Development Initiate synchronization from device

    I have written a C# application for Windows CE, VS2005. What I want to do is to transfer files from the Device to the Desktop PC. It has to be done exactly when I want it to, and I need to know that the sync went alright before my app continue to run. I have looked at "repllog.exe /remote" but it is dependant on the customer clicking the sync button on that dialog window, and not everywhere else (like disconnect). Also, it is one extra step to do for the customer, which should have been done automatically. I also tried importing the rapi.dll from the application on the device like this: [ DllImport ( "rapi.dll" )] public static extern void CeRapiInit(); When I call the function CeRapiInit at ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible that Update() is multi-threaded?

    I'm getting a REALLY strange exception. It only occurs when I run my game via Ctrl-F5 (rather than F5) and even then I can't always reproduce it. It's in a bit of code that is simply a foreach-loop on a List<> of Particles and calling Update(elapsed) on each of them. The error occurs on the first line of Particle.Update() which is "base.Update(elapsed)" which calls the Sprite class' Update()... which has no indexes in it. At the end of the loop I look for any particles that need to be removed from the list and do so. Based on what little debug information I can get, it looks like it's an internal error in System.Collections.ListDictionaryInternal... Count is zero, which pretty much should never be the case... there's alw ...Show All

  • Visual C++ Class help

    I keep getting some errors due to my classes. I was hoping someone could help me with these errors. c:\documents and settings\xx\my documents\visual studio 2005\projects\dung and drag\dung and drag\item.h(13) : warning C4996: 'strcpy' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy' Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' Compiling... Player.cpp c:\documents and settings\xx\my documents\visual studio 2005\projects\dung and drag\dung and drag\player.h(10) : error C2011: 'PLAYER' : 'class' type redefinition c:\documents and settings\ ...Show All

  • SQL Server SSAS 2005. x86. Memory Allocation Errors during processing.

    I have an AS2005 on x86 Box with 4Gb RAM with 2 Xeons 2,2Ghz. On the same box runs SQL Server - the data source for AS. If the cube is processed, i can't reprocess indexes and aggregation after dimensions update. I get permanent memory allocation error. The cube size is funny - only 3Mio rows in 13 artitions. Only thing what runs is to make cube unprocessed and full reprocess it. But it brokes one of the businnes requirements, that users can always query the cube with simple queries, though with 10% of performance. It might be the case of Analysis Server making wrong estimates of amount of memory its needed to complete the operation. Change MemoryLimitErrorEnabled server property for server to s ...Show All

  • Visual Basic Setting Form.Cursor

    In a Windows Form application, a user can click a button to kick off some processig that takes several minutes. I want to set the cursor to WaitCursor while processing continues. This didn't work: Sub Button_Click() Me.Cursor = System.Windows.Forms.Cursors.WaitCursor Sub2 Sub3 Me.Cursor = System.Windows.Forms.Cursors.Default End Sub Sub Sub2() <Do some stuff that may take several minutes> Sub4 <Do some stuff that may take several minutes> End Sub Sub Sub3() <Do some stuff that may take several minutes> End Sub Sub Sub4() <Do some stuff that may take several minutes> End Sub The problem is that the cursor seems to remain as Default (usually Arrow). None of the subs modifies the cursor, loads a new form ...Show All

©2008 Software Development Network