lidiya's Q&A profile
Visual Studio Team System calling policy from orchestration.
We were using to Expression shape with the following code. We were not getting the results and there is no error reported in biztalk.same thing executing using call rule shape. Any advice. Br = new Microsoft.RuleEngine.Policy("CBSEAI_EOD_TE"); Br.Execute (SendMsg); SendMsg is a variable of type XSD file. Thanks in Advance. Ramesh More. You might also try one of the BizTalk forums: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.biztalk.server&mid=3390aed3-ab5a-4c67-8e50-d898b2e0bdb1 ...Show All
Windows Forms Coloring TabControl.
As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object Another question: TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors Many thanks. Control does have a BackColor property: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control_members.aspx TabControl technically does but it's description is "Overridden. This member is not meaningful for this control." So they've hidden it from the VS designer, since you can't completely remove an inherited property: http://msdn2.microsoft.com/en-us/library/system.wi ...Show All
Windows Forms Is there a bug w/ the DataGridView?
Hi all, I'm using the following code: For Each SelectedRow As DataGridViewRow In grd.SelectedRows SelectedRow.Cells( "IsTrue" ).Value = True Next Ex. of my problem: Row|IsTrue 1 |0 2 |0 Using the above code will only make Row 1 True, and leave Row 2 as False. If I just Select Row 1, then the code above sets Row 1 to True just fine. The ONLY way to make it work is to hard-code the following: grd.Item( "IsTrue" , 0).Value = True grd.Item( "IsTrue" , 1).Value = True grd.Item( "IsTrue" , 2).Value = True Any variable in the row index of grd.Item produces the same problem. It MUST be hard-coded. Anyone know why ...Show All
Microsoft ISV Community Center Forums [Access 2003] [ADO Excel Connection] Run-time error '-2147217865 (80040e37)'
Error clause when retrieve data from Excel file using ADO, error message as the following: ShtName = "'AA BB CCCCC DD(EEEEEEE$00+) (0)" strSQL = "Select * From [" & ShtName & "$A7:BB65536]" Run-time error '-2147217865 (80040e37)': The Microsoft Jet database engine could not find the object 'AA BB CCCCC DD[EEEEEEE$00+] [0]$A7:BB65536'. Make sure the object exists and that you spell its name and the path name correctly. Thank you very much! Hi Perry, It's your range thats causing the error, if you run with only the sheet name then it's fine but when you add the range A7:BB65536 the error is thrown. Have you tried using a named range instead ...Show All
Visual Basic Force the printer to print to a new page
I have a situation where I want to force PrintDocument to start a new page even though the previous page is not full. This would be like placing a page break in Word. I have tried using (.HasMorePages) but to no avail. The output has a combination of text and graphics if that makes a difference. Thanks. Returning that property from your print delegate will simply instruct the print engine to reinvoke your delegate with a clean graphics canvas and print to another page. Sorry, perhaps the above should have been a little clearer .... The method you are doing the painting within is called once for each page that you wish to generate. If you want the method to be called again, set e.HasMor ...Show All
SQL Server Anti-virus Exclusion list
Currently, I install an Anti-virus solution on MS SQL Server. It protects windows OS. In order to speed up the SQL performance, I dont want this Anti-virus to scan my SQL database. I want to know what's the exclusion list for the Anti-virus application. Thanks, Hi, All anti virus server have Exclusion List which means it won't scan those files(Extension) listed , you have to enter .mdf,.ldf & .ndf to its Extention Exclusion List and then it won't scan your Database. http://www.nus.edu.sg/comcen/antivirus/faq.htm#10 FYI & E.G. Hemantgiri S. Goswami ...Show All
.NET Development SQL LIKE QUERY WITH A PARAMETER
I have a problem with a LIKE query in vb.net. I want to run a query which will output all of the usernames that end with a certain character. I need to use a LIKE query but I am not sure how to use a parameter. I have tried this: SELECT Username FROM TblUsers WHERE (Username LIKE '%= ') ORDER BY Username This does not work because it does not allow me to enter the value I want. If anyone can help I will be grateful. Thanks Hi there VMazur. Thanks for posting some help. The following error appears after the cn.open() part of the code: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact ...Show All
Visual Studio Express Editions Delegate, Invoke/beginInvoke. How it works.
Could anybody please tell me exactly what is going on with delegates and Invoke/BeginInvoke. It is easy to make these functions work, but the explanations in the help files are so cryptically, that you may question whether the author of the help files actually knows what is going on! According to the help files, BeginInvoke executes a delegate asynchronously on the thread that the control's underlying handle was created on! I have been working with microcomputers since Intel 4004 and used multitasking when Microsoft was still in the DOS days, but this explanation is simply too cryptically. First of all, as I understand it, a delegate is a type-safe pointer, but a pointer is not executed - at least not in my terms. Subroutines are execut ...Show All
Visual Basic A program is trying to send e-mail on your behalf. Stop this message.
Hi Does any one know how to disable this option ( A program is trying to send e-mail on your behalf. Stop this message .) I'm trying to send an auto e-mail with Marco from MS Access. I am executing this macro from VB.Net... Dim objAccess As New Access.Application objAccess.OpenCurrentDatabase( "D:\TestMacro.mdb" , False ) ' Add the Access File Path objAccess.DoCmd.RunMacro( "Macro1" ) ' Replace Macro1 with the name of your macro objAccess.CloseCurrentDatabase() objAccess.Quit(Access.AcQuitOption.acQuitSaveNone) objAccess = Nothing But every time that my script trying to send the auto e-mail, a security popup and saing "A program is trying to send automatically ...Show All
SQL Server Need help on this MDX query
I have the following MDX query and I need to have the dataset only return with the MAX "prescription date". How to modify this query to achieve this Thanks. SELECT NON EMPTY { [Measures].[Pharmacy DW Count] } ON COLUMNS , NON EMPTY { ([AgencyID].[Agency Id].[Agency Id]. ALLMEMBERS * [Account Period].[Prescription Date].[Prescription Date]. ALLMEMBERS * [Drug].[Drug Name].[Drug Name]. ALLMEMBERS * [Drug].[Protocol Code].[Protocol Code]. ALLMEMBERS * [Hospital].[Hospital Desc].[Hospital Desc]. ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION , MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( STRTOSET (@DrugProtocolCode, CONSTRAINED ) ) ON COLUMNS FROM ( SELECT ( STRTOSET (@DrugDrugName, C ...Show All
Windows Forms C#: Windows Form Application !!!
Hi, I have a Master/Detail relationship in a Windows form Application, and I'm trying to fill one of my columns in the Detail table with Null Value using the following code: MyDataSet.Tables["myTable"].Rows[myTableBindingSource.Position]["Column1"] = DBNull.Value; this.Validate(); this.myTableBindingSource.EndEdit(); this.myTableTableAdapter.Update(this.MyDataSet.myTable); But it doesn't work. I checked it and understood that myTableBindingSource.Position doesn't point to the current record on the screen(as it is linked to the Master table by the relation), so it can not be a correct Index for MyDataSet.Tables["myTable"].Rows[ Index ]. Does anybody have any idea of how to deal with this case Thanks, Mathew ...Show All
Visual C++ Unknown build error in iomanip
hi, I encountered this error when building log4cpp with my project. "Error 1 error C2143: syntax error : missing ';' before '<' C:\Program Files\Microsoft Visual Studio 8\VC\include\iomanip " In fact, there're many other errors that has nothing to do with the application. eg: Error 11 error C2061: syntax error : identifier 'ios_base' C:\Program Files\Microsoft Visual Studio 8\VC\include\iomanip 63 Please help. Thanks Cheers Wilson Wilson_sg wrote: hi, I encountered this error when building log4cpp with my project. "Error 1 error C2143: syntax error : missing ';' before '<' C:\Program Files\Microsoft Visual Studio 8\VC\include\iomanip " In fact, there're many othe ...Show All
Visual C++ reading imagelist from stream using common control v6
I have a file with old stream that holds an imagelist, that was written using ImageList_Write from common controls verion <=5. PRE.clsCode {font-size:110%;} PRE.clsSyntax {font-size:100%;} TD DIV.clsBeta {display:none;} A:link {color:#0000ff;text-decoration:underline;} A:visited {color:#0000ff;text-decoration:underline;} A:hover {color:#3366ff;text-decoration:underline;} MSHelp\:link {color:#0000ff;text-decoration:underline;cursor:hand;} When im trying to read it using ImageList_Read from common controls v6 it returns zero, but when i use ImageList_Read from common controls v5 everything is ok. ImageList_Read from common controls v6. works with almost all streams that was saved before.. so can can i read a stream ...Show All
Visual C# generateinmemory doesn't seem to work
when i set generateinmemory field of compilerParameters to true, after executing cSarpCodeProvider.CompileAssemblyFromSource a dll file is generated on disk, and after exiting the application it remains on disk (so it is not a temp file). why Caligula, Just because its a temp file doesn't meant it is deleted. I have to clean out my temp directory on a constant basis....I agree though that code should delete the file once done...there may be extenuating factors keeping it open.... Credo Quia Abserdium Est ....I believe because it is absurd....<g> ...Show All
Visual C++ Create Excel-file in VC++ and fill it with rows of data
What do I have to do to create a Excel-file with a program written in managed C++ Do I have to install some components in to Visual Studio 2005 There's a nice article in codeproject on Excel Automation. See How to use Managed C++ to Automate Excel ...Show All
