Mojo George's Q&A profile
Software Development for Windows Vista BUG in workflow designer
Hi! In VS when you have workflow in design mode, and you select some CodeActivity ( doesn't really matter what you select ), you should be able to resize it... But when you are poiting cursor on one of the dots you got the tooltip saying sth... And cursor changes for "resize" cursor only for 10 miliseconds and than you have a tooltip... So I am not able to change size CodeActivity or any other element in my workflow designer. If there is any way of doing it I'd like to know. Jarod The dots are there to show the edge of the activity. You can if you want create a custom designer and associate it with a custom activity that you create but in most cases activities don't need to be manually r ...Show All
Smart Device Development font.DrawText
hdc = BeginPaint(hWnd, &ps); // DrawText(hdc,ABCXYZ,-1,ABCDEF,DT_LEFT|DT_TOP); //compiles, no text; // DrawText(hdc,TEXT("this is a test"),-1,ABCDEF,DT_LEFT|DT_TOP); //compiles, no text; font.DrawText(NULL,messagechar,1,x,y,5); //does not compile; EndPaint(hWnd, &ps); i am using the standard window for win32, win32 project. i can not get font.DrawText to compile. i have run out of ideas and any input would be helpful DrawText compiles except i do not get text on the screen. i am wondering maybe the color on the text is not set. thanks,, thank you very much. i got hello world in the upper left hand corner. YESSSSSSSSSS!!!!! RECT rc is what i could not figure out. ...Show All
SQL Server cascading parameter alwaycome back to default value
Hi all, I encounter a cascading parameter problem that confuses me badly. I have a Web App, say App1, and view the server report, say Report1, through Report viewer. I pass a parameter (P1)value from App1 to Report1. at the report side, I create a dataset, say DS1, against the P1's value. Then I create second parameter P2 whose value comes from dataset DS1, and I set its default value as DV1 (it could be Null, or querying from DS1 or a constant). The report1 comes agains the value of @P2. The problem is here, when the report is run, @P2 can show correct value list in its dropdown (comes from dataset DS1), but after I select the values and click 'view report', the of value of @P2come back to the default one, DV1, and the report ...Show All
Windows Forms how do I Make an .exe file in visual basic 2005 express edition?
Hi all! when i start my program (visual basic 2005 express edition) i choose windows application and i try to make a simple application. And when im finnished with it, i save it in the default location. now, when i run the application on my computer, it works fine, but when i try to send to my friends,(to show my wonderfull work ) it dosent work.. because its not a *.exe file i dunno how to save the file as an .exe file so i can make it work I also tried to use the build buttom, with no sucsess. can someone please help me with this. (Sorry for bad english) Thanks! thread moved to the correct forum. The exe file is located in your project directory in the bin\debug folder. This is your ap ...Show All
Visual C# question about "using namespace"?
I create 2 projects (P1, P2) and the 2 projects have 2 namespace (N1, N2; N1 belongs to P1, N2 belongs to P2). I could use "using X=N1", but i can not use "using X=N2" at project P1, P1 can not find the namespace N2. I know it can, but if I should change some settings thanks! BTW, if i put both of the 2 namespace (N1, N2) at P1, then whatever i could use "using X=N1" and "using X=N2". not really sure I follow *confused* - will re read but perhaps the project you are trying to access from the other project has not been added as a reference in the project, so add a reference to the project/namespace you are trying to access - you should then be able to access it. example I have 2 projects ...Show All
SQL Server SQL Mail sent email appear ??? instead of Chinese characters and foreign accents in SQL 2000
I send email by SQL Mail xp_sendmail stored procedure in SQL analyzer, the @subject and @message parameter set as include unicode. My entire query is as below: DECLARE @cMsg nVarChar(200), @cSbj nVarChar(100) SET @cMsg = N'測試' SET @cSbj = N'DIRECCAO' EXECUTE master.dbo.xp_startmail EXECUTE master.dbo.xp_sendmail @recipients = 'someone@somesit.com' , @message = @cMsg, @subject = @cSbj EXECUTE master.dbo.xp_stopmail However, the received email appear question marks ( ) instead of the Chinese characters and foreign accents, I cannot solve this problem. I already setup a profile in outlook and apply this profile in SQL Mail, my Server configuration in my SQL Server is as below: OS: Windows 2000 (5.00.2195 Service Pack 4) SQL: SQL Ser ...Show All
Visual Studio 2008 (Pre-release) error: The mapping for Entity Container 'HRISBusinessModel.HRISArchitectureWorkbench' was not found in Workspace.
Hi, I have a problem using ADO.NET vNext... and cannot find a solution, please help :-( I use now the following connection string : <add name="HRISArchitectureWorkbenchConnectionString" connectionString="metadata=D:\\HRISWorkspace\\HRISEDM\\Domains\\Person;provider=System.Data.SqlClient;provider connection string='Data Source=HRISDEV02;Initial Catalog=HRISBusiness;Integrated Security=False;User Id=HRISBusiness;Password=fakepwd01'" providerName="System.Data.Mapping"/> and I got the following error : "The mapping for Entity Container 'HRISBusinessModel.HRISArchitectureWorkbench' was not found in Workspace." and the stack trace: System.Data.Metadata.WorkspaceMappingCache.GenerateViews(M ...Show All
Visual Studio Licensing Web Applications in VS2005
How to generate License to a Web Application Is there any tool or inbuild Architecture for Licensing Web Application in VS2003 or VS2005 Hi Shri, This is not the right forum for this question. I think you would get better support if you posted your question at http://forums.asp.net/ . The ASP.NET team frequently patrols those forums so you should get a response pretty quickly. thanks, James Lau Program Manager, VS Ecosystem ...Show All
SQL Server NotificationText
Hi I wish to know why my notifications don't send the resulting text to my email. I get the email but with an empty body. I searched the NSDistributionLog table and the field NotificationText is NULL. Does anyone knows if I am missing some configuration or something Thanks a lot in advance.. Hi I don't know what is happening but the file notifications are generated correctly with the same xslt. But the smtp are generated with an empty body. I don't think that the NotificationText field is relevant since the records for the file notifications also have nulls but are written correctly in the file... Appreciate any help ...Show All
Windows Forms about filling clark
ALL i want to know is how can windows help me to be come & aranging filling clark ...Show All
.NET Development Insert new Data Row with selected values
Is there a way to copy a dataset from a details view / form view control See below my SqlDataSource with SELECT and INSERT statements. A FormView ("Data_Read") is bound to it. It contains the data that should be copied into a new data row when I click a button. Protected Sub Insert_Button_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Insert_Button.Click SqlDataSource_Data.Insert() End Sub With the insert parameters like it should take the existing data values from the FormView("Data_Read") and write it to the new Data Row. But instead, it takes the "Dat_ID" value for all fields. Why Is there a way to fill the SELECTED data into the INSERT statement --- Source cod ...Show All
Visual Studio Express Editions date and the hour
Hello, like I can arrange the date and the hour in two panels of a StatusBar with VB Express Me . statusbarPanel1 . Text = Now .Date. ToString Me . statusbarPanel2 . Text = Now . Hour . ToString ...Show All
Visual C++ multilanguage support in Visual C++ 2003 MFC IDE
Hi, I have a program that reads data in arabic language from database. I see text as arabic in database. However, When I try to read it using MFC database classes, it is coming in not readable format. I don't want to use UNICODE macro in program because there are many other integrated programs and they are aware of char and constant char types. I only would like to read this arabic text in that portion of program. I tried MultiByteToWideChar function for conversion. However, it didn't work well. I am also suspicious about displaying, because even if the conversion is successful, How can I see the real arabic text during run-time How can I do it If you help me I'll be appreciate. A.Sahan Hello Re: multila ...Show All
Visual C# Error occured in databinding it seems.....
Can anyone please provide me a solution for the below error (marked in blue) at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) at System.Windows.Forms.BindToObject.GetValue() at System.Windows.Forms.Binding.PushData(Boolean force) at System.Windows.Forms.Binding.UpdateIsBinding() at System.Windows.Forms.Binding.CheckBinding() at System.Windows.Forms.Binding.SetListManager(BindingManagerBase bindingManagerBase) at System.Windows.Forms.ListManagerBindingsCollection.AddCore(Binding dataBinding) at System.Windows.Forms.BindingsCollection.Add(Binding binding) at System.Windows.Forms.BindingContext.UpdateBinding(BindingContext newBindingContext, Binding binding) at System.Windows.For ...Show All
SQL Server SQL SP1 build 2047 installation error
Hello, I am having problems installing the SP1 for SQL server 2005 on a W2K3 R2 server. It appears that the Database Services and Analysis Services are not being updated. I would appreciate any help with this if anyone has seen or had experience with this issue. Thanks, the basic log file is listed below. Redist9_Hotfix_KB913090_3.log 09/17/2006 19:15:53.408 ================================================================================ 09/17/2006 19:15:53.408 Hotfix package launched 09/17/2006 19:16:57.719 Attempting to install instance: SQL Server Native Client 09/17/2006 19:16:57.735 Attempting to install target: HOSPSQL 09/17/2006 19:16:57.735 Attempting to install file: sqlncli.msi 09/17/2006 19:16:57.782 Attempting to ...Show All
