hohsen's Q&A profile
Visual Studio Express Editions listview question
hi I added listview to my form now after clicking on different buttons I want listview to have different columns. This is my code: ListView1.Columns.Add( "File type" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Item Column" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 2" ,20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 3" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 4" , 20, HorizontalAlignment.Center) ListView1.Refresh() ListView1.Update() The problem is that after clicking the button nothing happens I don't see columns names! What should I change Your mind goes 'on t ...Show All
SQL Server Dbmail sending mails but recognised as spam by outlook07 and spamassasin.
Just started playing with the server 05 demo I am trying out the dbmail tool/ sp. Problem is that mails are being recognised as spam! Emails are being sent as text. Both Outlook 07 and spamassasin recognise the mail as spam :S.... I sent same info via outlok and all is ok. Difference is the header. Has anybody come across this Know of a solution Thanks Hi, Please explain. I was under the impression that dmail (unlike sqlmail) used smtp directly. THanks ...Show All
Visual FoxPro Vfp Converting DateTime Problem in MSSql
Hi *. i have table on MsSqlServer "art" with 2 fields id int, date datetime and when try to put some value into datetime(), MsSql say go away :( mSql = "insert into art (id, date) values (2, '20061103141100')" =sqlExec(nHandle, mSql) Please give me solution for this problem in Vfp. p.s. Don't give me example with store procedure, 'coz i use mssql for storage only. Thx. Hi, Assign .NULL. value to your variable if you are following cetin's approach (parameterized sql), or replace your date value with NULL if you put your value as string into SQL. lddate = .NULL. SQLEXEC(m.nhandle, 'INSERT INTO mytable (mydate) VALUES ( lddate)') or SQLEXEC(m.nhandle, 'INSERT INTO mytable (mydate) VALUES ...Show All
Visual Studio 2008 (Pre-release) Performance drop after maximising a transparent window
Has anyone else noticed a massive performance hit after maximising a transparent window. This seems to continue even after the window is restored to normal. The same app using a non-transparent window has no problems. I am using the June CTP. Thanks for the response David. It's been a while since I posted so I'll have to go back and check this again but what I meant was that the slow-down remained even once the window was reduced back to non-maximised size. I am using Windows XP with service pack 2. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Displaying textured 3D objects
Hi there, I've been working my way through the tutorials at http://xna101.spaces.live.com/ , and I am stuck on lesson 16, the first 3D tutorial. The download of die.x didn't work, so I whipped up my own little 3D cube in Blender and applied a simple 64x64 pixel texture to it and saved it in DirectX format as cube.x. I was able to add it to my Project fine, but when I try to compile the program, it has all sorts of trouble understanding any texture I put on the thing. It will say the texture file is not found in the debug/bin directory; or it will give me other error messages about the structure of the texture file. I tried saving the cube as cube.3ds and cube.x3d and whatnot, and none of that worked. (Indeed, the Project didn't even rec ...Show All
Visual C# Clean Build
What is considered as a CLean Build and how do i do a Clean Build....I searched it on the net but to no avail...can any help me out on this topic Clean build: http://msdn2.microsoft.com/en-us/library/ms171480.aspx Clean Solution: http://msdn2.microsoft.com/en-us/library/5ak1w89s.aspx ...Show All
SQL Server Report table does not display all rows from dataset
I have a dataset that when run returns 270 rows. The table using the dataset in the report only prints the first row. I have the table grouped by a status type, but this is for when I can get multi-select paramenters installed and working. For now I just need the report to print all the returned rows. Help!! Thanks! Terry ...Show All
Smart Device Development No modules loaded for debugging-PDB files cannot be found.PLease Help
Hi, I'm developing a app through vb.2005 using compact framework2.0. But when I run the application it doesnt let me do any debugging. After hours of research I found out that the pdb files dont get loaded..On the modules window it says: mscorlib.dll mscorlib.dll N/A N/A Cannot find or open the PDB file. 1 5/9/2006 12:59 PM 4FA00000-4FADE1C8 [8e2939e6] Warehouse (PPC).exe: Managed Warehouse (PPC).exe c:\localsymbols\Warehouse (PPC).exe N/A N/A Symbols loaded. c:\localsymbols\Warehouse (PPC).pdb 2 2/1/2007 5:11 PM 4FB00000-4FB11A00 [8e2939e6] Warehouse (PPC).exe: Managed System.Windows.Forms.dll System.Windows.Forms.dll N/A N/A Cannot find or open the PDB file. 3 5/9/2006 12:59 PM 4FC00000-4FC ...Show All
SQL Server Merge replication between same schema databases but different data
Hi all. I 'm trying to set up merge replication between two servers that have the same schema databases. The two database have the majority of there data the same but as well as data inserted at a later time independently on the two servers. (The two servers were connected in a merge replication scheme that failed at some later time and replication was paused, but users continout to insert data indepentedly at the two servers.) I need to get them up and running. I cleaned replication at both servers, I recreated the publication at the puplisher distributor and all is fine. When I create a push subscription to the subscriper I get the error invalid column name ' rowguidcol ' . I so far managed to have merge replicatio ...Show All
SQL Server Export / Import Aggregations
Hello, Is there a way to export / import the partition aggregations The thing is - I ran the usage base optimization (+ using a bit of SP2 AggMgr.exe), but everytime I change the cube and redeploy, it overrides the aggregations and i have to rerun the usage base optimizer. Thanks, Haggai Good question. I dont know of any automated tool or way of adding aggregation desing into a measure group. Though I can see someone enhancing AggregationManager sample application to allow for loading aggregation design stored in file. Or copying aggregation design from one measure group to another. I might have some time doing that :) As for now, the easiest way would be to create a XMLA script of your old measure group and save ...Show All
Visual Studio 2008 (Pre-release) My WPF application doesn't run on a machine which has .Net3.0 but doesnt have VisualStudio2005 and its extensions for WPF/WCF
Hello, Please let me know what are the minimum requirements for running a WPF application(using XAML) on a machine that doesnt have Visual studio 2005 and orcas Our application end users just have .Net3.0 installed on their machines.When this app.exe is run on a machine with just the .net3.0 framework, we get a msg like : "app.exe has encountered a problem and needs to close.WE are sorry for the inconvenience.If you were in the middle of something,the information you were working on might be lost." This otherwise works fine.Can you please suggest me what I am missing here Do I need to create a deployment package everytime so that all relevant dlls(w.r.t WPF) are also intalled our end user's machine.Am I missing something ...Show All
Smart Device Development Cab installation failures due to signed files
Hi. I have a Smart Device CAB file targeted for WM5 Smartphone. I'm using Visual Studio 2005 to build it. For my executables/dlls, I'm signing the files using the SDK developer certificate. When I'm installing on an actual phone or on the emulator, I will sometimes get errors on the signed files. Usually, they happen on the same files but not on all the signed files. I think it is more likely to happen on a file that self-registers. The problem goes away when I reinstall with a rebuilt file that is not signed. In setup.log under \Application Data\Volatile, I will get something like this: <characteristic type="fsbraille.dll" translation="install"> <characteristic-error type="Extract"> <pa ...Show All
.NET Development The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I just installed Visual Studio 2005 today and I'm already getting an error. This code worked fine on 2003. I am running Windows XP 64 so I definitely have the latest MDAC. Anyone know why I would get this error Dim strConnect As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & GetWorkingPath() & "db.mdb;Persist Security Info=False;" conn = New OleDbConnection(strConnect) conn.Open() I'm getting the same problem, but when I do the x86 option it doesn't help, either in C# or VB. I've run CompChecker and got the following, everything is cool: <cc> <releases> <release name="MDAC 2.1 SP2"/> <release name="MDAC 2.5"/> <release n ...Show All
SQL Server Problems using SQL 2005
I'm going to move this onto a server with SQL 2005 installed. I also happen to have SQL 2005 installed on my home machine, so it seems silly to me to install SQL Express. I'm following the Video Series: Visual Web Developer for Beginners video to use login controls. I click on Website-> ASP.NET Configuration, then on the Security tab. I get the following message: "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the buttom below to be redirected to a page where you can choose a new data store." "The following message may help in diagnosing the problem: ...Show All
SQL Server dmp file to mdb
Can anyone possibly tell me how I would go about importing a database from a dmp file Hi Kevin, As far as I am aware the file is a SQL .dmp file but how do I go about doing the restore. I tried yesterday with the restore tool supplied with SQL and recieved an error as a result Thanks for your help, Graham ...Show All
