Software Development Network Logo
  • Game Technologies
  • VS Express Editions
  • Windows Forms
  • Visual C#
  • Visual J#
  • Architecture
  • Visual FoxPro
  • Windows Vista
  • Smart Device
  • Visual Studio
  • VS Team System
  • Windows Live
  • Visual Basic
  • .NET Development
  • Visual C++

Software Development Network >> Oren Solomon's Q&A profile

Oren Solomon

Member List

senaka
Bene
David Zeller
zybernau
subramaniac
Vladimir Gaitanov
Mimir
Kliot
jpmoreno
Plamen Neykov
Pete Wrins
Pedro Pinto
RoxanaT
WiT8litZ
pfabrie
Darkpaw
mjr85
Lightworker
Christian Q
Sarika_MS
Only Title

Oren Solomon's Q&A profile

  • Windows Forms How to programatically control visiblity of tab pages without removing them from designer?

    I have a large tab control which consists of many tab pages. Depending on who the user is, different tab pages should be visible. setting a tab page to visible=false or enabled=false doesnt work (enabled=false causes all the controls on the tab to be disabled) Of course, the code to add the tab pages to the control is simple - i can easily write&n ...Show All

  • .NET Development Lazy initialization in the CLR

    Does the CLR handle lazy initialization ok in a multithreaded environment Take the following code for instance: public ArrayList Associations { get { if ( this .assocs == null ) { lock ( this ) { if ( this .assocs == null ) { this .assocs = new ArrayList(500); } } } return this .assocs; } }   Will this work in a multithreaded environment Or will the runtime or JIT re-order the reading statements or cache the 'this.assocs' variable In version 2 of .NET framework, the memory model was changed to make your code thread safe. Check out October MSDN magazine article by Vance Morrison. (not online yet) The othe ...Show All

  • Visual J# Mac Address

    Hi ,, How Can i Get the Client Mac-Address using J# and thank you v.much For helping :) Not to be a booger, but I think the question that has been asked twice now in this thread is how to retrieve the CLIENT'S MAC address, not the machine ASP.NET is running on. Does anyone know how to accomplish the real quesiton being asked here ...Show All

  • Visual Studio Team System Team Project Creation Faild- not able to connect to the SQL Reporting Services at http://192.168.0.1:8080/

    Installation: ------------ SqlServer 2005 (command line install) SharePoint Service SP1 (command line install) patched with Security Update for Windows SharePoint Services (KB887981) http://www.microsoft.com/downloads/details.aspx FamilyId=6BB93661-0CE7-46CF-B8BB-55546B58A2F2&displaylang=en TFS Beta3, single server Some other facts: ----------------- Reporting Services function well at http://192.168.0.1/Reports and http://192.168.0.1/ReportServer When I browse http://192.168.0.1:8008, I receive en error You are not authorized to view this page However, the information returned from http://192.168.0.1:8080/Services/v1.0/Registration. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RTW release?

    There was a newsgroup post in the beta group for XACT claiming the final version would be released on the 2nd. I can't find it anywhere though; I'd assumed it would be part of the Feb DirectX SDK rather than a separate package. Is that the case Has that been held up this month There's nothing on the DX page, and no further posts were made to the beta newsgroup. There wasn't even an e-mail sent out to the beta members. Any further info ...Show All

  • .NET Development Reports Using Stored Procedures and ASP.Net (7 Days Planner)

    Good day! I'm currently doing a Reports Module in a project here in the Philippines. One of the reports is from an appointments table, I have to create a 7 Days planner. From the dates in the table, I have to classify each appointment to what day it falls. For example, there's an appointment for June 13, 2006, I have to show in a data grid under the column Tuesday. It would depend on what date the user will choose on when to start the 7 Days Planner. I've been trying several SQL select & join statements but I haven't got the perfect answer. I've tried doing several left joins but still, it isn't the right one. Please help me. I need to f ...Show All

  • Visual C++ load win32 dll dynamically

    Hi, I had a win32 dll which i need to load it with the help of LoadLibrary from my client application. i am facing a problem in loading and calling the dll functions. here is the code.. some body please help me. DLL code: win32dll.h #ifndef _WIN32DLL #define _WIN32DLL #include <windows.h> #define DLL_EXPORT __declspec(dllexport) DLL_EXPORT void sayhai(void); #endif Win32dll.c #include "Win32dll.h" static HINSTANCE hInst; BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: hInst=hinstDLL; break; case DLL_THREAD_ ...Show All

  • SQL Server Compilation/sec is more on production where recompilation / sec is zero

    Hi Team, Our production Environment is SQL server 2000 with SP3. I noticed lot of compilation/sec (where recompilation/sec is closed to ZERO). I know every stored procedure will get compiled initially then it may get recompiled for lot many reasons & I have very good understanding of reasons for recompilation & lot of document on that. Where as I am trying to understand what causes for compilation. I noticed we are not using DBO prefix while calling the stored procedure & also recommended using sp_executesql instead of exec. Is there anything else I need to check Is there any document on what causes for compilati ...Show All

  • SQL Server Help understanding stored procs

    I am having trouble understanding how to correctly use stored procs. Here is what I think the process is. Correct me where I am wrong. I am developing a read-only program with VB 2005 as a front end and SQL Server back end. The user will enter an ID# for search criteria which will be passed as a parameter to a stored proc. I want to create a stored proc that alters a view by changing the ID# the view filters on. A dataset will be created in the front end from that view. So in SSMS, I create a new proc like this: CREATE PROC {blah, blah} @IDnum AS BEGIN ALTER VIEW {blah, blah} AS SELECT {blah, blah} FROM {blah} ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ Queries and observations

    I have the following queries/Observations about DLINQ. 1. I could not find any direct way of handling many to many relations. Suppose if User and Role are related by a join table UserRole then I should be able to have a collection of Roles in User and vice versa. Which i think is not possible in DLINQ. (Please correct me if I am wrong) 2. State management is handle outside entities. In scenareos where a client grabs a entity from a WS , makes some changes and post it back to the ws for updation, how is the DLINQ framework handle optimistic locking Why can't state be maintained in the entity itself maybe by a base class, we already c ...Show All

  • Visual Studio Express Editions Is there only one possibility the read out variables etc. from an HTML or PHP website?

    Hi, Im working on Visual Basic Application. I implicity want to read out some variables or text from an website. Here my idea: Im owning an website writen in PHP an HTML. Now I got an "Who is Online" System. The Application should (with assistance of an timer) periodly visit the website and read out the variaable contains the number or online users. Now the Application should notify me in an an baloon tip: "12 users yre visiting your website" My first Problem: At the moment, I use an PHP Script, which writes the number of current visitors in the <title>-Tag of an php doc. This is very difficult. Is there one bether ...Show All

  • Software Development for Windows Vista Duplicate activity name error when dynamically adding a custom composite activity

    I have a sequential document review workflow that when submitted dynamically creates multiple review tasks internally within the workflow. Each review task is an instance of the custom composite activity with a unique name. This all works fine. I also want to be able to add a review task dynamically at runtime from the host. However, when I attempt to apply the addition to the workflow I get a validation error that states I cannot add activities with duplicate names. This, I believe, is referring to the child activities of my composite activity. I thought I could just give the composite activity a unique name that would be used by child a ...Show All

  • SQL Server how to create Extended procdure to invoke a webservice with C#

    Hi,    Can anyone help me in creating an Extended procdure that can invoke a webservice with C#. Hi,    sorry mate...i cannot use sql 2005 and im restricted with sql 2000 only, unfortunately :(. Now im trying to know how to return object or array using sp_OAMethod. Pls post...if u have examples that explains the sp_OAMethod returning object or array. Thank You.... -GSM ...Show All

  • SQL Server "Package failed validation from the ExecutePackage task" error

    I have an SSIS package which calls two other SSIS packages as part of it's control flow (using the Execute Package task). Both packages are stored in the same parent folder on the same server. The first child package runs successfully, the second does not. It ran fine for days until yesterday. Not sure what I might have done. I have tried to delay validation and recreate the connection. No go. Has anyone else run into this. I am running SQL 2005 RTM and VS 2005 RTM on XP Pro SP2. Any suggestions would be welcome. Very cursious to know : i have two very simple packages (parent and child) with parent ca ...Show All

  • Windows Forms MDI + external exe

    Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx Assuming your exe or dll is .NET.... ' MyAssembly exe or dll contains the form to be instantiated System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFrom( "MyAssembly.exe" ) ' This create an instance of an Object Class, but it's castable to the proper  System.Windows.Form or custom Form Class. objClass = asmExternal.CreateInstance("Form Name") objClass.Parent = MainForm ...Show All

©2008 Software Development Network