DavidThi808's Q&A profile
SharePoint Products and Technologies Login Dialog
Hi folks I have installed Sharepoint onto a domain server. It will always be accessed from within the domain (i.e. it will not be on the internet.). 1. When a user browses to the site (in internet explorer) they are presented with a login box (saying "Connect to [Servername]"). Is there any way that I can get rid of this I would rather that the users didn't have to log in. I hoped their credentials would be handled automatically since they are on the domain. 2. I have an asp.net 2.0 site which the Sharepoint site has links to. It is on the same server but published on a different port. When a user clicks on a link for this site they are also presented with another login dialog. How can I get rid of this (i.e. can't I jus ...Show All
Windows Forms Problem with ClickOnce and mandatory profile
Hi, I'm having problem running a ClickOnce application using mandatory user profile. I'm getting these error messages: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://192.168.0.2/ClickViewPlayerLite/ClickViewPlayerLite_1_0_0_2.application videoid=668 ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://192.168.0.2/ClickViewPlayerLite/ClickViewPlayerLite_1_0_0_2.application videoid= ...Show All
Visual Basic Access database
I come from viausl 6 and i just want to ask the basics for working with mdb databases. (Maybe is the same as visual 6) Connect to database, search on it.. execute sql commands... Thanks for your help Untill now, in visual 6, when i was working with access databases i was doing something like this: dim mydatabase as database dim myrecordset as recordset ... ... Set bd = OpenDatabase(".\accessdatabase.mdb") 'Access 97 format Set myrecordset = bd.OpenRecordset("Table1", dbOpenDynaset) ... myrecordset.movenext myrecordset.movefirst ... etc, etc.... That is my knowledge (for database treatment in visual 6) and i want to ask what should i know to do similar treatment in visual .net... (in lat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SpriteBlendMode - Premultiplied alpha
So, many people that have done lots of graphics programming know that premultiplied alpha is fantastic ... sadly it seems like there's no support for it in the Sprite system. The only Sprite blending options are Additive and regular Alpha blending. Is there some other way to get the effect of premultiplied alpha (Src + Dst * (1-Src_A)) Obviously I could switch to using the 3D functions to render everything, but given the advantages of premultiplied alpha, it would be really nice if the simpler 2D path supported it. ...Show All
.NET Development ADO.Net open Excel 2.1 file
I'm using ADO.Net in Visual Studio 2005 to build a Visual Basic.Net Windows application. The application need to import an Excel 2.1 file, which is generated by FoxPro 2.6 DOS version from my client. Unfortunately, I can't read the Excel 2.1 file directly from my OleDB. Since I can do it successful when I open the Excel 2.1 file using Excel 2003 and save it again. Then using the ConnectionString "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & FileName & ";Persist Security Info=False;Extended Properties=Excel 8.0;"... But the client cannot accept this manual step. Does anyone know how to read the Excel 2.1 file to ADO.Net or any alternative method to achieve the requirement I don't believe that data acce ...Show All
Windows Forms Changing size property
How do I enable the changing of size of a control like combobox Thanks. regards Alu Oh sorry Above code need an addition: add using System.Drawing; namespace for Point class or replace Point with System.Drawing.Point whitch one is approriate to you. ...Show All
Visual Studio 2008 (Pre-release) Proxy class for client
How can we generate proxy class and app.config file for client using netTCPBinding The command svcutil net.tcp://localhost:8000/xxx does not seem to work. Any documentation for reference Check out http://blogs.msdn.com/ralph.squillace/ and search for Do we have WS-Mex support over TCP No. To do that, we’ll add another endpoint that uses TCP, like so: there is a good example there. ...Show All
Visual C++ Pls Help. Urgent!!
Hi Everyone, Currently I having a problem on pass vb string into c dll. I sucessfully pass the string to the c dll and return the whole string with the codes below: c code to create dll char *ccDecrypt( char *str, char *ostr ){ return str ; } vb code Private Declare Function ccDecrypt _ Lib "C:\Documents and Settings\fpca\Desktop\dll\TestDLL\Release\TestDLL.dll" _ (ByRef str As String, _ ByRef ostr As String) As String Private Sub Command1_Click() Dim deCard As String txtDe.Text = ccDecrypt(txtEn.Text, deCard) End Sub But when i change the str in the c code to str[0], it throw me error... can anyone suggest how to solve this problem Hi, ...Show All
Visual Studio 2008 (Pre-release) Help on layout
The code below displays among other things a canvas called drawSurface. This canvas is added as the last child and has fixed size. As the window is resized, and when the window becomes larger than the canvas, WPF positions this canvas in the center. So far so good. My question is how can I find out the canvas's left top coordinates relative to its container. The reason is that I need to track this in my application. I appreciate any help on this. Thanks /* using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; ...Show All
Visual Studio Designer not saving a property change
Hi, I have created a component. The component has a property which is an array of strings. If I modify this array in the property browser window then the VS designer notes that I have changed the property and saves (serializes) the changes. However if I change the string array in the component code the VS designer does not realize that the property has changed and does not save it. It seems I need to make a change using the property browser in order to ensure my changes are saved. Any ideas or comments Joe Are you manipulating the control property directly if so, you need to use a PropertyDescriptor instead. See my article: HOWTO: Manipulating controls of Windows forms from Visual Studio .NET add ...Show All
Smart Device Development Receiving continuous mouse/key "up" events
My codebase is running under both the Windows Mobile 5.0 API and Win32. Under Win32, I correctly receive mouse & key down/up events via: WM_KEYDOWN WM_KEYUP WM_LBUTTONDOWN WM_LBUTTONUP ...in my window proc. For key events, I use the 30th MSB (0x40000000) to determine whether this is the "first" key down, and "first" key up event of it's kind as per the documentation: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceui40/html/cerefWM_KEYDOWN.asp However, under WinCE this bit does not appear to be correctly set for WM_KEYUP which means I keep processing all of them as they each claim to be the "first" key up event. I have the same issue with WM_LBUTTONUP ...Show All
Visual Basic Setting Margins in ReportViewer
Dear Readers, I use Report Viewer to create a report with display records from a database. I have a lot of data to display for each line, but the margin settings are limiting me. If I go to the Page Setup tab in Report viewer(Run time), I can set the margins to 1 (left and right) , and it displays my full line nicely. How can I programatically set the margins to 1 during loading of the form Also interesting is that if I go into Page Setup, the margins are displayed as 9.8 (left and right). If I go out of Page Setup, and back in to Page Setup, the margins now are 3.9. Every time I go in and out of Page setup, without changing anything, the margins are automatically reduced, untill it is 0. If this correct beh ...Show All
Visual Studio Express Editions Tell Us Your Express Story and Win $100!
Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! This includes Visual C++ Express. http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx enable vc++ express to compile: samples, and win32 applications. vip info first: in vc++ express console (IDE)>tools>options>expand: projects and solutions>vc++ directories three correct paths: $(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\Lib ...Show All
Windows Forms How to pass ab object between forms
Hi, how Can I pass an object between 2 forms. For example if I have an object created in a button click event Form1 frm1 = new Form1(); MyObject obj = new MyObject() obj.Id= someintvariable; obj.Name=somestringvariable; frm1.MdiParent = this.MdiParent; //this is an MDI app frm1.Show(); how Can I send obj to Form1 so I can use it there Thanks Hi, Sammy I dont know what you exactly want. But if you want to create mdi form, your syntax does not make sense. For example: Create a mdi form named form2 in form1 in Form1_load : this.IsMdiContainer = true; //and popup the form2: Form2 form2 = new Form2(); form2.MdiParent = this; form2.Show(); Otherwise, you dont need to ...Show All
Windows Forms clear all text box controls on a from
I have 10 text boxes on a from after they submit their data I want to clear all txt box controls. For Each ctrl As Control In Me .Controls If TypeOf ctrl Is TextBox Then CType (ctrl, TextBox).Text = "" End If Next VB.net 2005 not working I found the problem the text boxes are in a "panal" pnl1 so it was not reading in the pnl1 control For Each ctrl As Control In Me .pnl1.Controls If TypeOf ctrl Is TextBox Then CType (ctrl, TextBox).Text = "" End If Next ...Show All
