mrboldt's Q&A profile
SQL Server Table Column Default
Hello all, I have a table with a column: ThruDate datetime not null I have a function call set up as default for the col ([dbo].[fn_DateHigh_Get1]()) I have a stored procedure that inserts into the table - it expects @ThruDate as a parm. I default the parm to NULL - When the sp executes its insert stmt i get error 515 (null cannot be inserted....). When i just enter the row manually in enterprise manger (and just tab through the ThruDate col) all is well - ThruDate gets the default as calculated by function [dbo].[fn_DateHigh_Get1]() Why does the sp fail - i.e. why isn't the default applied thanks Thanks Waaz, I was hoping to have the default do all the work, while being able to supply an insert proced ...Show All
Windows Live Developer Forums Video telephony using MPEG4
Hi there. Actually i'm trying to develop a video telephony application using messenger sdk. Hopefully i want to use API provided by the SDK but if there is no available API so far, i will use the same technology as Windows Messenger uses considering future release. (1) Are there any API which is good for video telephony application such as SIP feature, video handling (MPEG4), and phone feature (2) If not, which technology does Windows Messenger use internally SIP for IP phone DirectX for video handling TAPI as well Regards ...Show All
.NET Development Split Command AND an Array
string [] fnames = new string [8 ] { @"\\Share\File.rpt", @"\\Share\File.rpt", @"\\Share\File.rpt", @"\\Share\File.rpt", @"\\Share\File.rpt", @"\\\Share\File.rpt", @"\\Share\File.rpt", @"\\Share\File.rpt" }; int fcnt = 0; char delim = ' '; string rprtRead; string [] rprtARR = null ; while (fcnt < 8) { using (FileStream fs = new FileStream(fnames[fcnt].ToString(), FileMode.Open, FileAccess.Read, FileShare.Read)) { using (StreamReader sr = new StreamReader(fs, Encoding.GetEncoding(437))) { rprtRead = sr.ReadToEnd(); rprtARR = rprtRead.Split(delim); } } fcn ...Show All
SharePoint Products and Technologies LDAP Membership Provider with SSL
Hi, dear MOSS community, We are trying to implement user authentication against Active Directory via LDAP. We have successfully configured the LDAPMembershipProvider WITHOUT SSL for the authentication. But if we try to do the authentication via LDAPS by changing the the attribute "useSSL" from false to true, and the port from the stardard "389" to "636", user cannot log in with their credentials anymore. Are there any steps that we are missing in the configuration By the way, we have already installed the certificates of the Active Directory on the local machine. Hier ist the configuration for the LDAPMembershipProvider: <add name="LdapMembership" type="Microsoft.Office.Server.Security.LDAPMembershipProvid ...Show All
Visual Studio Creating a Crystal Report with VB.NET and SQL Server Express 2005
Hi there, I haven't received any replies to a question I posted, so I'll try a different approach. Can anyone point me to any resources (tutorial, walkthrough, articles) on creating a report in Crystal Reports, using VB.NET 2005 and SQL Server Express 2005. Specifically how to set up a connection to SQL that can change. The structure/data in the SQL views/tables won't change, but the string used to connect to SQL will. I test on my laptop. When I hook up to the network, I need to switch my connection to the network SQL Server. Thanks in advance! Amber Hello Amber, I am reposting from an ealier reply: Here is a link to the online help: http://support.businessobjects.com/documentation/pr ...Show All
Visual Studio Express Editions Question about Forms
Dear All i have developed an application which has mainForm, form1, form2 and form3, in mainForm.cs i created a button and created form1 using the following code form1 frm = new form1() frm.show() now in form1.cs i created a button and created another form as following form2 frm2 = new form2() frm2.show() now in form2.cs i created a button and created another form as following form3 frm3 = new form3() frm3.show() when i am pressing "Alt + Tab", i watch Four forms. My Question is 1) How to see one application form 2) Is there any way that old form be placeholder of newly created form 3) Or any trick An efficent solution will be appretiated Thanks With one main form ...Show All
Smart Device Development Cannot connect Windows CE 6.0 DeviceEmulator via Activesync
Hello, When I clicked "Cradle" in Device Emulator Manager, the ActiveSync tried to connect but finally showed the dialog window "Microsoft ActiveSync cannot recognize this device for one of two reasons: *The deicve was not connected properly. *The device is not a Smartphone or Pocket PC." Some background: 1. Catalog item "ActiveSync" is added in OSDesigns for building the run-time image. 2. DMA support in enabled ActiveSync (v4.2). Thanks. Yes, the default setting KITL transport defined in batch file is using DMA. And I have enabled DMA inside ActiveSync->COnnection Settings. I have tried the following two scenarios, however, still failed to connect to ActiveSync. ...Show All
Community Chat Kyro KidSafe Browser (beta)
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Visual C# Convert C# to VB
I am having some trouble "translating" some C# code to VB from an excellent class I found at http://bloggingabout.net/blogs/jschreuder/archive/2006/05/31/12272.aspx Here is the section I need some help with /// <summary> /// Definition for the FileEvent. /// </summary> public delegate void FileEventHandler ( object sender, FileEventArgs e); /// <summary> /// Event is raised for each file in a directory. /// </summary> public event FileEventHandler FileEvent; /// <summary> /// Raises the file event. /// </summary> /// <param name="fileInfo"><see cref="FileInfo"/> object for the current file. </para ...Show All
Windows Search Technologies PARTIAL SOLUTION
Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All
Visual Studio Team System Howto choose between multiple build machines
Can I setup a team build type to choose between multiple build machines Unfortunetly the wizard creates a template with a fixed name in the <BuildMachine> tag. Can I enumerate a list of machines or pass a parameter to the build process, like <BuildMachine>$(Param1)<BuildMachine> The latter would be a great feature to customize the build type further, e.g. specify a label to checkout etc. Thanks Volker The build machine is already one of the parameters that can be overridden at build start time - in the GUI (via the Build machine combo box) or at the command line (via the /m[achine] option). -Aaron ...Show All
.NET Development problem with CLR dll, but only in debuger
I am making a CLR dll in C++, and testing its consumption in C#. For the sake of this thread, the CLR dll will be called ' MyCLRdll ' and the test propgram will be called ' MyTest ' I know the problem relates to the progress bar parts of the dll and test and cross threading What I don't know is why this problem ONLY happens in the C# debugger, or how to fix it. When I go into the Debug folder and double click MyTest.exe every thing works perfectly; its just when I hit the play button in VCS Express that the problems happen. The thing is MyCLRdll pretty much has to work in the IDE too because it is a devolpment tool Hey man thanks for all your help, but I just solved the problem, I decided ...Show All
Visual Basic Splash Screen In Visual Studio .net 2005
I wanted to know how do i make the splash screen only show for a few seconds....I can get the splashscreen to display but it seems it will not let me add a timer so i can set how long i want it to show before it calls the exit method......If i should use a Thread to do it can someone give me an example on how to get it done....thanks!!!! I am using the built in splash screen, when it executes it doesnt splash it just stays on the screen.....Is there a way where i can set a property for how many seconds it should show How would you do it ...Show All
SQL Server SQL server Groups
Is it possible that i can create a SQL Server Group in sql 2005. Eg. in 2K when u right click (in Enterprise manager) on Microsoft Sql servers you can see "New Sql server Group". I am talking about this group. I have many servers in NYC and Dallas and in VA. I want to group them in the group names NYC DAL VA. is it possible. I have sql server 2005 client tools with server on sql server 2000. now i can form groups in 2000 but i cant see them grouped in 2005. i just see the servers registered in 05. i cant see them as i can in 2000. if u still have problems then i will send u the screen shot. ...Show All
SQL Server "Incorrect syntax" exception when prefacing SP names with "dbo." and named parameter issues
We're currently trying to evaluate SQLJDBC 2005 1.1 June CTP's support for database mirroring automatic failover. Unfortunately we're getting unexpected exceptions for calls that work fine w/ jtds that our blocking our ability to perform these evaluations without us making substantial changes to our codebase. The first issue is with the name used when calling a stored procedure -- SP names that start with "dbo." give us the following error: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '.'. src:{call dbo.xyz( , , , , , , , )} The call will work if we change the SQL statement to {call xyz(...)}. I don't understand why we would need to do this, especially given that the documentation for the dr ...Show All
