MarinaNZ's Q&A profile
SQL Server The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
In custom forms authentication for ReportServer, I hvae the following entry <authentication mode="Forms"> <forms loginUrl=" https://<externalwebsite>.com " name="<customname>" timeout="60" path="/"> </forms> </authentication> <authorization> <deny users=" "/> </authorization> <identity impersonate="false"/> The report manager works if the loginUrl for reportServer is "login.aspx". However, as soon as the url points to an external site with https, it gives the above error Any quick resolut ...Show All
Smart Device Development how to add Toolbar into menubar created by SHCreateMenuBar?
Hi all experts, After create menubar by SHCreateMenuBar, i want to add Toolbar beside the menu in menubar It's very easy and clair in evc++ 4.0 but in visual studio 2005 it's so stupid cos i spent a lot of time but i couldn't find out. Thank for your instruction. Hi Julien As hinted in your post, I am creating a variable (initialized) SHMENUBARINFO, but I am still not able to get the toolbar in my window. Below is the code I have created..... SHMENUBARINFO mbi = {0}; // We need to create the menubar window mbi.cbSize = sizeof (SHMENUBARINFO); mbi.dwFlags = 0; mbi.hwndParent = hWnd; mbi.nToolBa ...Show All
SQL Server Visibility of a matrix column base on parameter selection
Hi, I have a matrix, with 1 row group and 1 column group and 4 static columns, is there a way to hide the static columns base on the selection of a multi-value parameter Like creating a group for the 4 static columns Is that possible This is an urgent matter, any help would be very much appreciated. Thanks, Cheng You cannot hide individual static columns in a matrix - the closest you can get is to hide the dynamic column group conditionally (which will then also hide inner static columns). -- Robert ...Show All
Windows Forms Problem with Microsoft.Jet.OLEDB.4.0 Provider
this is may first time using OLEDB and I am using .net 1.1. I can open an excel file in another computer using .net 1.0, but when i try the same code in my machine using .net 1.1, i get the message that the provider is not registered in local machine. JET OLEDB is registered ; i download the latest and check the registry and i manualy registered using regsvr32 sqloledb.dll. But nothing worked. In this machine i have 1.1 and 2005 instaled. I do not know if there is a problem with .net 1.1 or 2005. I do not have a machine with .net 1.1 alone. thank you drey I found this useful http://support.microsoft.com/kb/27860 ...Show All
.NET Development Can't call dataadaper.Update method after the dataset.AcceptChanges has been called!!!
I've employeeDataAdapter and nwindDataSet. Bind the grid to nwindDataSet.Employee table. And I add one new row and call nwindDataSet.Employee.AcceptChanges() method. After that I called employeeDataAdapter.Update(nwindDataSet); then I close the application. But the data are not saved in the database although I called Update() method. If I only called Update() method, then the changes are saved in the database. Am I missing something Does any one know about this Any help is appreciated... Thanks and Regards, Julia That's expected. After calling acceptchanges(), the row s ...Show All
Visual Basic How do you search multiple folders for files?
In VB6, you could use the folder list control.. but how do you do it using VBExpress My MAIN folder has several directories inside it with various file types. How do I write code to access these directory and files using the new My. feature ... assuming I don't know the name of the directory or files Thanks You can search any file in any directory and subdirectory (for VB.NET 2.0 only): Imports System.Collections.ObjectModel Dim rocFiles As ReadOnlyCollection( Of String ) Dim strUpperPathName As String = "C:\Program Files" ' For example ... Dim strFileNa ...Show All
Windows Forms How can i cache an array of ListBox, to re-display them faster ?
hello, i do populate these ListBox with data from a DataView.ToTable distinct query the application is a music browser, like Itunes, on ListBox(es) on the top, there is as cascaded filter that also DISTINCT childs lists. (the behiavor is exactly Itunes like) these ListBox are stored in an array so i can find which one has been clicked, from which tab and create the RowFilter properly my question is : how can i cache these tables for faster loads (in fact, i just do a basic check and use NewRow() that seems to take centuries !) or do i simply have to wri ...Show All
Visual Studio 2008 (Pre-release) Project into an interface?
This would be interesting to see in C#3: from name in db.Names, city in Cities select new ICustomer { LastName = name.LastName, FirstName = name.FirstName, PostalCode = city.Zip, CountryCode = city.CountryCode } For an interface that consisted entirely of properties, have an anonymous type implement the trivial interface. At the moment, the only way I can think of is to specifically create a class to implement the interface. I've been interested in decoupling the projection stage from the selection stage, such that I could have a DAL consisting of, essentially, from/where clauses, and have in the presentation layer ...Show All
.NET Development WSE 2.0
Hi, All. I had installed WSE 2.0 in my PC. Now, I want to add TimeStamp and Security Token in Client application. I try this: '... Dim sProxy As New HW.Service1Wse sProxy.RequestSoapContext.Security.Timestamp.TtlInSeconds = 60 '.... sProxy.RequestSoapContext.Security.Tokens.Add(token) sProxy.RequestSoapContext.Security.Elements.Add(New MessageSignature(token)) '....other code But, It does't work. It said...System.Web.Services.Protocols.SoapHeaderException: does't recogniz SOAP header Security。 Can I add other security in the same time for example, Time Stamp, Token, X509Signing and Encryption Can you provide so ...Show All
Smart Device Development Linker error LNK1195: target machine 'ARM' requires '/SUBSYSTEM:WINDOWSCE'
I'm working on a project for the Casio3000 and encountered a weird issue. I have 2 dll's i want to compile, i use the same linker options and compiler option for both dll's. But one of the 2 gives me that error !!!! LINK : fatal error LNK1195: target machine 'ARM' requires '/SUBSYSTEM:WINDOWSCE' I defined CE_SUBSYSTEM = windowsce,4.1 ... @echo /subsystem:$(CE_SUBSYSTEM) >> $(OBJDIR)\lnk.pro @echo /machine:THUMB ...Show All
.NET Development Single address always returned via GetHostEntry or GetHostAddresses
Should I not be able to see all IP addresses for other computers in my LAN/DOMAIN - Lee I appreciate know this. I should still be able to make interop calls to Winsock to get what I need. Thanks for your help, and glad to see this request go on the list. - Lee ...Show All
Windows Forms Can Control Event Handlers Be Interrupted?
I have spent more than a week over a very frustrating problem. I have a custom control derived from System.Windows.Forms.Control. In its MouseMove event handler (of the custom control, not the calling ap), I have just this and only this simple code to move the control horizontally when the user drags it: if (mouseDown) { this .Left = this .Location.X+Control.MousePosition.X-oldMouseX; oldMouseX = Control.MousePosition.X; this .Invalidate(); } mouseDown is a bool set and unset by MouseDown and MouseUp respectively. oldMouseX is a global int updated to ...Show All
Visual Studio problem encountered on Custom Page Size in different machine but same OS.
Hi, I am a novice of CR. I current develop a CR for printing receipt and it is a rotated paper. my CR version is 9.0. I create a custom page size. (height : 14.00cm, width 20.23cm) and named CustReceipt for my CR. And, my development machine and client machine is same windows xp professional and using the same printer. it worked perfectly in my development perform. however, when I deploy my CR receipt to my client. In his machine, the receipt output size is not my expected. I tried to adjust my custom page size but there is no changes. Any one knows why and advise me a solution please help! thank in advance. ...Show All
Visual Studio Express Editions IDE 2005 editor tab size
Hi, Does anyone know how to change the tab size in an editor window Thanks. Geert Go to the "Tools->Options..." menu. You get the options dialog where you can check "Show all settings" at the bottom left corner. Now you can set the tabsize under Text Editor->All Languages->Tabs You can also set it per type of source file. ...Show All
Windows Forms Dataview RowFilters
I am trying to group some data within a datatable. My datatable has about 13 columns in it and i would like to group it in a variety of ways to display the data to the user (its all count data). I have read that you can use the rowfilter property of the dataview to simulate aggregate functions such as sum, max, min etc. Howeve ...Show All
