ycjj's Q&A profile
SQL Server Is this possible? Help...
Hi, Right now i am working on Reporting service. I facing one problem. My client wants parameters prompts of Report Viewer. He asked for dropdown box for those parameter on the upper side of report view with one buttton to show report same as report viewer's inbuilt parameter prompt, Inaddtion it also wants a button byy which whole report can be expand and collapsed. Initial report is in toggle mode. I asked for if is this possibel then pls reply me, its really urgent. Thx. ...Show All
Visual C++ MFC App. Resizing CEdit boxes
I have a MDI window. I have A CTreeCtrl box on the top left and a CEdit box to the top right. Along the whole bottom is another CEdit box. When ever you drag the corner of the window to resize nothing expands with it. I've search every where with no solution. So how do i resize everything or just lock the window I've tried to use a splitter but i havent been able to implement it.. When you resize a window, you will get two messages You will WM_SIZING message when you dragging the corner to resize the window and WM_SIZE once you committed the resizing. for immediate effect on dragging you can either do the resize on OnSizing (handler of WM_SIZING) function or WM_SIZE after committing the resizing. Anyway yo ...Show All
Visual Studio 2008 (Pre-release) service on dll can't read config file problem
Hi, dears! When I set my service on dll ( on exe that work without problem ) the first issue I found that I can't use Uri baseAddress = new Uri ( ConfigurationManager .AppSettings[ "baseAddress" ]); for service because that can't read dll.config file create from app.config in dll project and I moved it to main exe and send it as parameter to dll function in charge of create service : ServiceHost serviceHost = new ServiceHost ( typeof ( MyWCFServiceClass ), baseAddress); serviceHost.Open(); Immediately I received exception on serviceHost.Open() and it: Service 'WCFClassLibrary.MyWCFServiceClass' has zero application (non-infrastructure) endpoints. This might be because no configuration file wa ...Show All
Windows Forms DataGridView Parent/Children Grouping help?
Hey all... I have a DataGridView that is grouped in the following order... The Parent is a column named "Category" and it returns all the items a user selected as Children. Looks like this sort of in the DataGridView: Some Category Descritpion Price Sold Some Category #2 Descritpion Price Sold etc... I have been trying to implement a DragDrop and having major trouble maintaining the above group when ...Show All
Visual Studio How to force Visual Studio 2005 to report the missed DLL files?
Hello: I have found one function in Visual Studio 2003 that by default is not turned on by Visual Studio 2005. I have a small OpenCV program that needs to load some DLLs in order to run. First, I ran this program in Visual Studio 2003, the IDE immediately tells me which DLL file is missed. However, when I run this program in Visual Studio 2005, the IDE didn't give me any useful information related to those missed DLL files. The only error messages I got from IDE is as follows: 'TestCV.exe': Loaded 'C:\temp\VC2005\TestCV\debug\TestCV.exe', Symbols loaded. 'TestCV.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'TestCV.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'TestCV.exe': Loaded 'C:\WINDOWS\system ...Show All
Windows Forms ListView Column Widths Question
Hi folks, I'd like to retrieve the current width of a column in a ListView, except I'm having troubles figuring out how to get the column I want to work with. My WinForm is using C/C++ - advice -Zero I could reproduce your error message using the VS2003 compiler. Fix it like this: int w = listView1->Columns->Item[ix]->Width; Writing code in Managed C++ is a dead end, run to the store and buy VS2005! The C++/CLI syntax is much improved... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content Access
How will we be able to access content when apps are running on the XBox using XNA Specifically I can access the System.IO namespace on the Windows platform to load content ( meshes, textures, sounds, etc ). What is going to be available the XNA framework for the Xbox I would imagine that it would be a modified System.IO namespace though as they're not going to allow haphazard access to the drive, probably just to files in the game's folder or something similar. ...Show All
SQL Server RS2005 configuration problem ASPNET account and DBs
Hi all, I posted this on google groups but no one could help me. I have instaled SQL Server 2005 on my W2K SP4 machine. When I go to RS configuration I get problems in two areas. First under "Web Service Identity" no account is listed. ASPNET account is set up on my machine correctly. ASP.NET 2.0 is installed. Second, under "Database Setup" I can't set up dbs. When I click "New" and create ReportServer db and then click "Apply" I get an error that says something like "Virtual Directories have to be crated first." Under IIS I have ReportServer and Reports directories. I ran command line tool "aspnet_regiis -i" and then continued with configuration but it did not help. What may ...Show All
Internet Explorer Development DST impact on IIS
Hi Hi,Can any one confirm me that is there any patches required for IIS due to daylight savings. Thanks. I'm getting the same problem but with a W2K IIS 5 server with Exchange 2003. Has anyone else seen this problem or have a solution for it Brantley Allen ...Show All
Visual FoxPro using tow field index with codebase
Hi, I'm using codebase to create table and index and i use VFP 9.0 to open the table and execute querys. when i'm creating an index for one feild : "CREATE INDEX ind ON person(age)" every thing works fine and there the index is working well. when i'm creating an index for two fields or more: "CREATE INDEX ind ON person(age,name)" VFP cant open the table. what seems to be the problem thanks ishay I opened the database created with vfp 7 and I used the option export to (from file menu tab), to change format in foxbase+ (it was the only format who worked). I re-create a new cdx index file (compound index file).I did not spent to much time with this because I was ...Show All
SharePoint Products and Technologies Missing Documents using SharePoint Designer backup/restore
I'm using SPD to move sites from a server with WSS 3.0 installed (an inplace upgrade from WSS 2.0) to a different server running MOSS 2007. I use the backup/restore method detailled here: http://office.microsoft.com/en-us/sharepointdesigner/HA100699391033.aspx But find that after migration some documents and folders are missing from document libraries. I can't see a pattern (in terms of date, author, document location or permissions) and it appears (obviously it isn't) random. This is causing me a headache as I have dozens of sites I need to move and want to be confident that I haven't lost documents. Any ideas You're help is appreciated. Andy. ...Show All
Visual Basic Browse Network place only, howto?
How can I set my openfiledialog just to open My Network Places(shared) Local Directory not included. If you have the sample code it'll be nice thanks Do you have other version of code for Smartdevice that can only browse the shared folder, I've copy paste your code to Smartdevice app and it didnt work drives = System.IO.DriveInfo.GetDrives on SmartDevice, "DriveInfo" is not member of System.IO ...Show All
Windows Forms System.ComponentModel.InvalidAsynchronousStateException occurred. The destination thread no longer exists
I've developed a Winforms 2.0 application which is already in production and my users get this error eventually if they let the program running idle long enough. I dont know whether this is the cause but the program uses a System.Timer running in the background performing various tasks every 3 minutes. I would appreciate any help. The details and call stack follow: System.ComponentModel.InvalidAsynchronousStateException occurred Message="An error occurred invoking the method. The destination thread no longer exists." Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state) System.dll!Microsoft.Win32.SystemEvents.SystemEv ...Show All
SQL Server select query from a stored proc when the values can be blank.
Hi All, I think what am trying to do is quite basic. I have 3 paramaters@value1, @value2,@value3 being passed into a stored proc and each of these parameters can be blank. If one of them is blank and the rest of them have some valid values, then I should just exclude the column check for the value that is blank. For e.g if all my parameters being passed are non- empty then I would do this select * from tblName where column1 like @value1 and column2 like @value2 and column3 like @value3 else if I have one of the parameter being passed as empty, I should ignore that parameter like if@value1 is empty then my sql should be select * from tblName where column2 like @value2 and column3 like @value3 I don't want to do a dyanmi ...Show All
Visual C++ Can you share global variables between a DLL and a calling program?
Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. Ted. wrote: Not entirely accurate - a global variable can be per process, not necessarily per module, i.e. it can be shared between a DLL and EXE (both built in C++) simply using the __declspec(dllexport) and __declspec(dllimport) keywords (or by using a DEF file). Create a DLL, and export a variable from it, and you can access it from any other DLL within the process, or the EXE that links to the DLL. It depends on terminology. The term global is used to refer to variables made global using "extern". Actually, ...Show All
