Mark Arrildt's Q&A profile
SQL Server Questions about 32- and 64-bit ODBC
p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri","sans-serif';} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in;margin-bottom:.0001pt;font-size:9.0pt;font-family:Consolas;} span.PlainTextChar {font-family:Consolas;} .MsoChpDefault {;} @page Section1 {size:8.5in 11.0in;margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} I have several questions about the behavior of 32- and 64-bit ODBC drivers in Windows. 1. If I have a 64-bit application, can it make use of 32-bit ODBC connectors 2. If I have a 32-bit ODBC connector, can it connect to a 64-bit database application (for instance, a ...Show All
Visual Studio 2008 (Pre-release) propagate Claims
Hi, I have a Service A, hosted in IIS. Service A provides 2 endpoints using 2 different bindings. Binding 1 is wshttpBinding and Binding 2 is netNamedPipeBinding. Service A uses a custom authorization manager and authentication policy as a behavior with the wsHttpBinding. Service A calls Service B by using netNamedPipeBinding. The motivation for using netNamedPipeBinding when calling service B is purely for performance reasons, and I can change the binding later on if I choose to deploy service B somewhere else (i.e. not on the same machine) and the programming model would be the same for service A when invoking service B. The thing is, netNamedPipeBinding only supports security mode none or ...Show All
Visual Basic Implicit ReDim - Is this a bug ?
No cracks about the 'bug' is sitting at the keyboard Try this: <Code> Sub Test Dim a(0 To 9, 0 To 5) As String a = FuncX() End Sub Function FuncX() as String(,) Dim Ret(0 To 4, 0 To 5) as String < Code to fill Ret > FunctX = Ret End Function <\Code> When you check 'a' in Test, it has been redefined as Ret: i.e. (0 to 4, 0 to 5) No compile warning ... although I can see where it might be hard to checks this. No Runtime error - except when I try to use 'a' with the full dimensions. Is this a bug or is it intentional and I'm missing something (other than my mind for such poor code consistency). Roger I see it (but I hardly believe it). If I re ...Show All
Visual Basic Referencing Text on another form
How can I make a reference to a textbox on one form to another so that it's text will show up in a textbox on my other form. Example: on Form1 I have textbox1 with information typed in, and on form two, i have textbox2, where i need that information to appear. I just need the reference from that form so I can use it on my other form. Thanks Would you please share which version of Visual Studio you're using, the code you're writing and any errors when compiling the code That would help figuring out the answer. This is a step-by-step sample in Visual Studio 2005: Create new Visual Basic Windows Application Drop TextBox1 and Button1 on Form1. Add Form2 and also drop a TextBox1 on it. ...Show All
Visual Studio 2008 (Pre-release) VS 2005 XAML IntelliSense - SOLVED!
Hello, I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary" <custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it. Have I missed something to install Thanks, Brett. My intellisense disappeared also, however my schema reference was still there. It just lost the double quotes around it. I added the double quotes, and it started working fine. Weird huh. ...Show All
Windows Forms AutoGrow
I have tried the property "Dock in Parent container" that makes Dock=Fill. It works fine when I have only one control(panel or datagridview) in the form, this is ,I can see the the panel or dagridview expanding when I maximize the form Now I would like to have two panels in the form and make them autogrow and autoshrink with the form. How can I do this thanks in advance, D I wanna have the two panels one below the other, each one will have a datagridView that can be very large (I'm using a custom command to expand/collapse some columns, but on full view I wanna let the grid expand with the form). Any idea Tks, D ...Show All
Visual Studio Express Editions TextBox in Template Script undefine error
Ok, i have a script with runat=server tag that works by taking information in textbox1,textbox2,and textbox3 and inserting it into textbox4. (textbox4 only will be databound) textbox4.text Equal textbox3.text Plus textbox2.text Plus textbox1.text but as soon as i move the textbox onto a template, insert or edit, for easyier user-data entry the define error showes, it is as if the textbox(s) are lossing the ID's. I get a line under them all and they become Not defined. error textbox4.text Equal textbox3.text Plus textbox2.text Plus textbox1.text Any and all help would be greatly appreacided This forum is intended for installation and registration issues only. You should post this query in the www.asp.net forums. Than ...Show All
Visual Studio Team System is there Site Analysis in VS team edition ?
Is there Site Analysis in VS team edition I can't find it . if there is no site analysis feature, are there plans to add a Site analysis feature as a patch or update together with an automatic wizard for a web links test to test all the links for a website automatically Thanks ! Currently we do not have this feature, nor is it planned for our next release. We are in the planning stages for the release after that and will consider your request for that release. In addition to a link checker, are there other things you are looking for Ed. ...Show All
SQL Server SQL Query Problem
Hi, Actually I have 3 tables User (user_id, user_name....), ProjectMember (pm_id, user_id, project_id.....) & TaskAssignee (ta_id, user_id, task_id....) in which User table has its foreign key into both of the other tables. There is no relationship between ProjectMember & TaskAssignee table. Actually I want to retrieve all user's info from ProjectMember table Inner Joining User table for specific condition in TaskAssignee table. The condition is: We have to retrieve user's info from ProjectMember table (means user_id) of which user_id value should not be same with user_id value of TaskAssignee table for the perticular task_id value of TaskAssignee table. For example suppose I am providing task_id=1 to the store proc then i ...Show All
Internet Explorer Development Does IE7 have a Sidebar ?
Hello IE7 Folks , I have developed an application for Firefox Sidebar ... Sidebar is quite useful but very flexible ... its basically a built-in toolbar that displays web content (like a baby browser on the side of your screen) ... I want this functionality in IE7 and I cannot find it ... does anyone know if this is possible ... I would really like to tell my clients that we can work on IE7 as well as Firefox ... if there is nothing like this in IE7 , I really hope an IE7 developer reads this post and reconsiders ... Opera uses something called a Hotlist Panel ... AIM Triton even has personal panels that do not require downloads / installations ... remember , internet users are NOT always at their own computer ... downloading / installing ...Show All
Windows Forms Wrap or 'host' an application within another?
How can I create a Windows Form that has an application running inside of it Basically I'm trying to come up with a UI wrapper for another application that has an application running in the center and additional controls around it. Is this possible What methods or controls should I be looking into I'm not concerned with how the .NET app is going to talk to the app running in the UI, however, I would like the application in the middle to still run as if it was running stand alone... being I would like the user to still have control of the application. My aim is just to provide controls around the app running inside the UI to perform additional tasks. Thanks NatalieE Hi, Hope this link gives you some sta ...Show All
Visual Studio 2008 (Pre-release) How can I obtain from a service implementation instance a reference to its Host ?
I'm opening several services with a thread pool. The services are declared as InstanceContextMode.Single. I want to know from my service implementation when a service host state becomes opene d. I can not use the OperationContext.Current.Host, cause it is only relevent in a operation method call. Using the InstanceContext and giving (this) in the constructor did'nt work either, the state remained Created all the time and did'nt change to Open. You can subscribe to the host's Opened event: using System; using System.ServiceModel; using System.Collections.Generic; [ServiceContract] public interface ITest { [OperationContract] string Echo(string text); } [ServiceBehavio ...Show All
Windows Forms AxWebBrowser Changed?
Hello, for some reason i started using the axWebBrowser coltrol about a year ago, i got the Visual Studio 2005 and the axWebBrowser has been changed to just WebBrowser and all the control calls have been changed, for instance AxWebBrowser1.LocationURL; is no longer available, its changed to WebBrowser1.URL; Also Im having Compilation Errors with the MSHTML.dll this line mshtml.IHTMLDOCUMENT2 doc = new mshtml.IHTMLDOCUMENT2 as WebBrowser1.Document; this line tells me that it fails to convert Document to IHTMLDOCUMENT2 because it has to implicit Conversion. Can anybody explain what to do how to use this new webBrowser...or get the old one back you should try using the new version bu ...Show All
Visual Basic TimeOut when calling a WebService
I am writing a VB2005 client application that calling a WebService for database access. If I call the webservice in the local PC, it always timeout. But if I call the same webservice which locate in Server, it never timeout. Anyone have the idea. Thanks! Emily Hi, I am sure th PC has not problem to connect to the server. Becasuse there is not only one PC has that problem. Also, I have another program that also use webservice but develop in VB2003, I never have that problem. Thanks! Emily ...Show All
Community Chat User Interface Oriented Application Development
Hi all, my name is Babak K. Farahani, who was thinking about User Interface Oriented Application Development concept for just 15 years! Three years ago after lots of different implementation I decided to develop the first application that could generate applications based on the UIOAD concept. As I never thought I must register the concept at the time, I never published anything about my dreams. Recently with help of my friends, we published a paper on UIOAD and set up the www.uioad.org to ask all other developers around the world help us in completing and developing the concept. So, I invite everybody to the site and appreciate your comments, idea and ... Regards No, it is really, completely different with InfoPath or ...Show All
