Maroller's Q&A profile
Windows Forms Any 3rd Party 'Compile As win32"
Does anyone know if any products exist that let you compile as "windows forms" application as a "Win 32" application. I've heard this is somewhat possible by compiling the .NET libraries (or atleast the ones used in the application) into your application, and creating a Win 32 app from all of it. I still don't like the fact that s ...Show All
SQL Server URGENT:spsbackup.exe gives logon errors
I am trying to Sharepoint Portal server with sql2005 on the normal everyday transactions everything works fine. However when we try to run SPS restore cannot we keep getting this error. This is VERY URGENT as we are trying to deploy a new site but cannot until issue is resolved. 'TWIG\Administrator' has already been given dbowner rights to all databases and can run backup but not restore. Error Message: Login failed for user 'TWIG\Administrator'. [CLIENT: 192.168.1.8] Surely someone has tried this these are two very popular applications but unfortunately there is nothing in the sps site or sql2005 to help with this issue ...Show All
Visual Studio CTC Language Service
Hi guys, AllenD asked in his blog if somebody has a CTC Language service in order to have richer experience editing CTC files. I did a service for CTC files on VS 2003 some time ago you can download it from my blog http://weblogs.asp.net/gmilano/archive/2004/04/16/114889.aspx I implemented it in whidbey too but I never found time to create a setup ;) I will try the next week post the language service for whidbey. Regards, Gastn ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need e-book for directx programming
Yes Glenn's blog is now at http://www.virtualrealm.com.au/ I will edit that old link out of the posts. You are correct that after it expired it was taken over by someone else. ...Show All
Windows Forms smart devices
I was wondering if there is a way to specifiy the application bin in a smart device application, similar to a regular VB windows application where you say: application.startuppath I want to read/write a file from the bin, and want to be able to specifiy the directory with something like: application.startuppath & myDocument Also, is there a similar way of doing&n ...Show All
SQL Server AdventureWorks db for 101 Samples
I'm not sure if this should be asked here. If it's the wrong place, let me know and I'll correct. I've just downloaded 101 Samples for Visual Studio 2005 . But the data access samples require AdventureWorks database which is not included in the C# sample. Who know where I can get this database It is a SQL 2005 database, I think. Thanks! gaile- Thanks for your quick response. Specifically, from CreatingMasterDetails sample: SELECT EmployeeID, NationalIDNumber, ContactID, LoginID, DepartmentID, ManagerID, ShiftID, Title, EmergencyContactID, AddressID, BirthDate, MaritalStatus, Gender, HireDate, Salaried ...Show All
Visual C++ Set VC++ Directories in Options dialog (Visual C++ Express)
Is this bug going to be fixed anytime soon Using VC++ Express 2005 v8.0.50215.44 (beta2.050215-4400) and .NET Framework v2.0.50215 on a Win2K SP4 test box. I've tried the solutions from both Boris and Chaos to workaround the problem and neither appear to work. I've been charged with evaluating VC++ for our enterprise, ( I'm principally a gcc user), and a rudimentary bug like this ought to get squashed pretty quick IMO. [EDIT] OOPS! Sorry to start this as a new thread. Meant to reply to the existing one. I've tried the solutions from both Boris and Chaos to workaround the problem and neither appear to work. That is ...Show All
SQL Server miscellaneous prompt issues on Report Builder 2005
Hey I've got a few questions regarding prompts on the Report builder Can I change caption of the prompt I intend to let the users know what kind of prompt that is, if the date they're choosing is a upper limit or a lower limit How can I create a Between date prompt I tried using the From..To but it disabled my option to tranform the Filter into a prompt, and from some reason it didn't let me execute report which had After and Before prompts on the same date field (tried it as some sort of work around) I tried adding fields from a 3rd level table using the report builder, I.E, I drilled down to the 3rd connected table and I w ...Show All
Visual C++ Unicode Character Set vs Multi-Byte Character Set
Hi, I'm using Visual C++ 2005, i tried to "produce" simple application with 2 buttons which gonna show a message when i press "ok" button. The problem is that book i'm learning from describe how to do it in Visual C++ ver. 6 First problem i had was that i couldn't compile Application witch Showmessage(...) becouse there was some conversion errors. I get over this by changing from "Unicode Character Set" to "Multi-Byte Character Set". Now everything "works" .... The problem is in apperance, when i have "Multi-Byte Character Set" selected in my project properties (or ch ...Show All
Visual C# "unable to load dll" in IDE but fine to run
I have a UserControl which references a managed C++ assembly M, and M has PInvoke functions from unmanaged Dll U. All work fine in VS .Net 2003. In VS 2005, it can still run well, but when I open the Form Designer for a form containing that UserControl, it shows "Unable to load DLL U: The specified module could not be found." Those dlls are in the same directory, and the project can run without a problem. Just the form designer cannot find the Dll U. Any clue Hello qrli! I'm not completely sure that we both are experiencing the same problem, but I have a problem as well with the form d ...Show All
SQL Server Fulltextsearch Error in Userinstance
I've enabled the Fulltextsearch in some Tables of my DB. In SQL Server Management Studio the querys are all have results and running free of errors. If i will use the same querys in VWD, they're running in a SqlException. Translated from german: The Fulltextsearch cant be used in the Userinstance. But a SelectCommand from the WebSite to the IndexState: SELECT crawl_end_date FROM sys.fulltext_indexes WHERE fulltext_catalog_id = 10 works fine. What i'm wrong The ConnectionString i'm using: = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Support.mdf;Integrated Security=True;User Instance=True " providerName ...Show All
Smart Device Development Japanese characters
Hi, I am using Mobile web project to develop a portal to be compatible to J-sky (j-phone) emulator. I have to use shift_jis charset, as supported by device. I am using Microsoft IME 2000 7.0.1 to switch to Japanese language. Direct input mode works fine, I am able to input in japanese through Emulator. but when I switch to Hiragana or Full-width katankana or half-width katankana, characters are shown in the emulator, but on press enter, these characters are converted into . Surprisingly, it works fine on IE. Page level <%@ Page language="c#" Codebehind="MobileWebForm1.aspx.cs" Inherits="MobileWebApplication2.MobileWebForm1" ...Show All
Visual Studio Express Editions How To Loop On Rows From A Database Table
I want to loop on the rows from a database table, but I can't work out how to do it. So far, the code I have is: Dim sConnectionString As String _ = "User ID=myname;Password=myPassword;Initial Catalog=mydatabase;Data Source=123.22.44.35,1433" Dim objConn As New SqlConnection(sConnectionString) objConn.Open() Dim sSQL As String = "SELECT * FROM manufacturer_list" Dim objCmd As New SqlCommand(sSQL, objConn) So from there, how could I loop through each record Thanks. Dim cn As New SqlClient.SqlConnection( "User ID=myname;Pas ...Show All
Visual Basic Calling a click event
In VB6 it was easy to call a controls click event ie (call textbox1_click). this however does not seem to work in Vb.Net 2005, any ideas Cheers Kev I found the best way was to put code in the gotfocus event of the combobox and call setfocus to initiate. After coding it was obvious that this is what I should have done in the first place, but trying to get my head around around OOP has made me loose sight of the easier stuff. Cheers for all the replies guys. Kev ...Show All
Visual Studio Team System SDM: Flow and Extends questions
Hi, While working with SDM S DK , I’ve encountered two problems that I cannot resolve. I am trying to use inheritance in the following manner: I defined application-layer system A with property P1 , and then I defined system B that inherits from system A ( < SystemDefinition Name =" B " Layer =" Application " Extends =" A " Abstract =" true "> ). When I add system B to my AD model I don’t see property P1 in “Setting & Constraints” tab, but when I add system A I am able to see its property. Interestingly enough when I’m defining the same property within system B boundaries, compiler compla ...Show All
