kaanuki's Q&A profile
Internet Explorer Development link target support
Hi Could someone help me to implement support for link's target attribute in browser hosting application. Like <a href="http://www.host.com" target="framename">link</a> What I've done. I've implemented ITargetFramePriv interface and give it in QueryService(ITargetFrame2, IUnknown) Then mshtml calls my ITargetFramePriv.FindFrameInContext, I give corresponding object which is queried for IWebBrowser2 interface. But then mshtml ignores it and begins creating new window through calling NewWindow3 of the original browser. Any suggestion Regards, Serge. Hi. My question is not about IE7. It's my application which is hosting IWebBrowser2 component. >Here is the link to the Nav ...Show All
.NET Development Secure Webservices
HI, I have created a simple Webservice with Add operation it..I have made IIS5.1 SSL secured.I have " Require Secure Channel" option enabled in it.Now when i accesed the webservice using https in browser i get "Page cannot be displayed" error. I turned off my windows firewall but no use.Also i looked into browser settings for https connection,it didnt helped me.Can anybody bail me out of this Thanks Venkat Hi Nathan, Thanks for your quick response.No page is workingwith https.If i uncheck "Require Secure Channel" and try acessing with http it is working fine. Thanks Venkat ...Show All
.NET Development Usage of ToString and ToInt32
We can use ToString this way: int i = 5; Response.Write(i.ToString()); But why can we only use ToInt32 the other way: string s = "5"; Response.Write(System.Convert.ToInt32(s)); Why can't we just simply use "s.ToInt32()" Tom_Liu wrote: We can use ToString this way: int i = 5; Response.Write(i.ToString()); But why can we only use ToInt32 the other way: string s = "5"; Response.Write(System.Convert.ToInt32(s)); Why can't we just simply use "s.ToInt32()" Hi Tom, ToString is just a base Object Class method, and it's overridable, means you can write your own implementation for ToString, and basically each and every class in .NET inherits ...Show All
SQL Server File System Task in SSIS
Wanting to use File System Task in SSIS to move files from one location to another for archiving. I can't seem to figure out how to use a wild card for the file name. It seems that I must specify the actual file name which is a problem because only the first 4 letters in the file name remain a constant. Does anyone know how to use a wild card or a way to work this in Darrin Turner wrote: Wanting to use File System Task in SSIS to move files from one location to another for archiving. I can't seem to figure out how to use a wild card for the file name. It seems that I must specify the actual file name which is a problem because only the first 4 letters in the file name remain a constant. Does anyon ...Show All
SQL Server Cannot start SQL Server Browser
Hello, I use SQL Server 2005 for multi-user access. In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service. Then I went to SQL Server Browser, stopped it and clicked on Start to restart. I am getting a message "An error occurred while performing this operation". I am not able to get the Browser started. Any help would be greatly appreciated. Hey Matt, thanks for the response, The browser service keeps repeating this error: The SQLBrowser is enabling SQL instance and connectivity discovery support. and this error The SQL Server Browser service terminated unexpectedly. It has done this 45 time(s). The following correcti ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render to texture and Volume Textures
Hi, I would like to know whether Direct3D can perform render to texture to a "slice" of a volume texture. Its just like binding an slice of a 3DTexture to a frameBuffer Object in OpenGL. Is it possible Thank you. Well, I didn't test that feature in OpenGL. I just assumed it to work because the extension specification indicates that is is a valid binding. ...Show All
Visual Studio 2008 (Pre-release) How to Use Shared UDT on client and Server
Hello dears I am having a very simple Service and client of WCF with wsHttpbindings. there is 3 projects one is client, services with host and a shared dll for both containing shared Data Types. after generating proxy when i build the projects it gives warning as it finds the data contract class in proxy as well as in the client project too. so can anyone send me some example or sample that shows such implimentation. Regards You can avoid generating types by using /reference:<path to your shared data types dll> to supply svcutil with a list of existing types to use when you generate your proxy. Using this option (/reference), if svcutil.exe counters a type in metadata ...Show All
Visual Studio Tools for Office [Word] COM Addin Refusing To Run.
Hi everyone. I recently finished developing a Word Addin that contains two panes and two ribbon buttons in a group & tab unique to my application. Upon attempting to deploy the solution, I fail to get the addin running on any other machine but the dev one. Here's the details: 1) my assembly is signed with an SNK dedicated to our project. This shouldn't matter to office, I presume. The setup project is pretty much the default. 2) The registry values added are the default ones generated shifted to the HKLM branch. I have also added registry values for adding a schema to the HKLM\Schema Library key, and another to modify the BrowserFlags of Word documents and Macro-enabled documents to support in-browser behavior. These all se ...Show All
Microsoft ISV Community Center Forums How to get the date of the next coming Monday?
Hello, everyone here! I need to set up a routine followup schedule in my Access 2003 database. The start date of a subject is the first Monday after being enrolled. So I am wondering if there is a simple way (like a function or something) to request the date of the first coming Monday. Thanks a lot for any suggestion! lunaa Thank you so much, ADG! I will plant your codes in my database~ lunaa ...Show All
Visual C++ Floating point stack overflow
My application works fine in VS2003, but in VS2005, it is producing an overflow of the floating point stack. This seems like it must be a code generation error in the new compiler. Has anyone else experienced this problem In the particular case I am looking at, I step through the instruction FLDZ in the disassembly window. Instead of getting a zero in ST(0), I get 1#IND, and the SF and C1 bits are set in the x87 FPU Status Word. The first time through this code it works OK, but this second time through, the FPU tags register shows that the stack is full before the FLDZ instruction. Thanks Mark, Please keep an eye on the link you provided. The responsbile folks will take a look soon and update the l ...Show All
SQL Server Group Count
Good Morning. This should be fairly easy but for the life of me, I can't figure it out... I am using SQL reporting Services 2000 and Visual Studio 2003. I have a very simple report that is grouped by a users name. What I can't figure out is how to get the count of records in a group. I have already got the total number of records for all groups but I also need to have the Group count as well. Any help would be greatly apprceiated For table like this: Table Header: Group Header: Detail: Group Footer: Table Footer: I do the following: add COUNT() into Group Footer line. It will calculate you number of rows for each group. If you put COUNT to Table Footer it will calculate you total number ...Show All
Visual Studio Print Layout vs. Interactive Mode
Is there a way to have an expression change based on which mode you are in Like have something hilited in interactive mode but look normal in print layout Please check my response in your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=580956&SiteID=1 -- Robert ...Show All
Visual Studio Tools for Office VSTO 2005 SE x64 runtime
I found the x86 runtime download at http://www.microsoft.com/downloads/details.aspx FamilyID=f5539a90-dc41-4792-8ef8-f4de62ff1e81 but didn't see one for x64. The x86 runtime page also makes no mention of Vista compatibility. What's up with Windows XP x64 and Vista This is what I found about this: Visual Studio 2005 and Office are not a native 64bit applications, but they will run in the WOW on x64. You will also be able to cross-target and debug on IA64 from a 32bit computer, or a 64bit computer running in the WOW. I think the setups both target the 64 and the 86 machines... -= Maarten =- ...Show All
Visual C++ How do I fix aspect ratio of CStatic object (MFC)?
I apologize if this question has been asked prveviously: I have created a simple dialog with a CStatic object as picture frame to show JPG image, however when I start the MFC program in different PCs it changes the rectangle size. For example, in my desktop I have it set to 320x240, but when I ran it a laptop (wide screen) it became (320x222). Is there a way to fix the dimension size of the CStatic object in the dialog resource editor I'm using Visual Stuiod 6.0 by the way. Any suggestions will be helpful! thanks in advance! In the future, please direct MFC related questions to the newsgroup at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US . ...Show All
SQL Server Group by on a concatenate field
Select TOP 100 CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, sum(Amount) from dbo.Enterprise_Credits_Import_90_days where CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) <> ' 0' and Service_Prefix like 'F' Group by How can I group by the field that I selected as CODE I tried the first statement and was able to make it work. Thanks for the info. The second query gave me this error Server: Msg 156, Level 15, State 1, Line 1 Incorrect syntax near the keyword 'with'. Also due to the fact that the database has around 6 million records the group by's seem to make the query take a while to run. Is there a ...Show All
