Software Development Network Logo
  • Windows Vista
  • .NET Development
  • Windows Forms
  • Visual FoxPro
  • Audio and Video
  • Smart Devicet
  • Microsoft ISV
  • Visual C#
  • Visual C++
  • Visual Basic
  • VS Team System
  • Game Technologies
  • SharePoint Products
  • SQL Server
  • IE Development

Software Development Network >> shayc's Q&A profile

shayc

Member List

TG_KG
Andreas Asterlund
RyanJ
jkv10
vasdeep
Xelestial
R2ks
salfmlcd
Khookie
RahulMittal
spi
Gilles Lafreniere
Uwe Keim
GreatFox
techuser08
Avi29
Constantijn Enders
Fari
Martin Kulov - MVP
aashta
Only Title

shayc's Q&A profile

  • Smart Device Development Activesync connection and C# code

    Is there anyway using C# code to temporarily disable the Activesync connection. I want to be able to disable the activesync connection, have it do some other functions, then restore the activesync connection. Any Ideas This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : microsoft.public.windowsce.embedd ...Show All

  • Visual Basic Convert C# to VB 2005 - Problem using inpout32.dll

    Hi friends! I have this problem to convert this code to VB.net or 2005 By the way, here's a great online tool for converting C# <--> VB.NET: http://carlosag.net/Tools/CodeTranslator/Default.aspx . I use it all the time. ...Show All

  • SQL Server detailed error information in an e-mail

    Hello, Is there a way to get detailed error information in an e-mail Thanks, Michael Hello, On sorry but I guess I need some more information. I created a SendMailTask but I cannot find where to get this error information Thanks, Michael ...Show All

  • Visual Studio Express Editions For Each...Next and Control Arrays

    I am using a For each...next loop to search through a control array of 150 labels. How does the loop determine which is the first label and the last Also, how do i make it start the loop from the last label to the first. Dim lbl As Label Dim a As Integer = 150 'a is the tabindexes of the labels For Each lbl In groupbox1.controls If lbl.TabIndex = a Then lbl.BackColor = Color.Blue lbl -= 1 Next This code does not work. How do i make the for each loop to get the last control then iterate through to the first To answer you question. You are simply iterating through a collection. The order of the collection is determined by the order in which the controls were added to the collection ...Show All

  • Visual Studio Debug | Start Without Debugging missing

    Upgrading from VB 03 to VB 05, and one of the virtual labs says... "Select the Debug | Start Without Debugging menu command to run the application." There is no such option in my VS 2005 Professional, and I don't see how to add it. Please advise Bob Hi That's interesting. I haven't used this feature in VS 2005 before but I was convinced it existed but even in my Team Suite edition I can't see it. I have also looked in the Options section and don't see any mention of it. Maybe somebody else might be able to shed some light on that. Having said that however, if you hold down Ctrl and press F5 you will be able to start your application without debugging. I tested this by placing a breakpoint on a Form_Load r ...Show All

  • Visual Studio Invalid Dos Path error when trying to run Analyze

    Hello all, I'm getting an Invalid Dos Path errror when trying to run Analyze on a SourceSafe database located on a server drive. The one clue is the acutal error (see below): Visual SourceSafe Analyze Version 8.0 Copyright (C) Microsoft Corporation. All rights reserved. Invalid DOS path: \\mcweb\sourcefiles\sourcesafe\\\mcweb\sourcefiles\sourcesafe" Obviously the path is bad as it appears to be "doubled-up" as you can see. I just can't find out why this is going on. I've checked the obvious solutions like the srcsafe.ini file and the paths are fine here (i.e. no double-entries just \\mcweb\sourcefiles\sourcesafe for the source path). So where is this path being created and or read I'm running analyze from a workstation, ...Show All

  • Smart Device Development SHCreateMenuBar and SHFS_HIDESIPBUTTON

    I've used SHCreateMenuBar on WM5. If I wanted to change the menu items, should I use the following approach  mb.hwndMB = NULL;    mb.nToolBarId = IDR_MENU1;  SHCreateMenuBar (&mb); ....later....  ::DestroyWindow (mb.hwndMB);  mb.hwndMB = NULL;   ....later.....  mb.nToolBarId = IDR_MENU2;  SHCreateMenuBar (&mb); Also, SHFullScreen (GetSafeHwnd(), SHFS_HIDESIPBUTTON) hides the SIP button, but if the SIP button area on the menubar is clicked, it reappears.  Is there any way to prevent this happening   Hi, I think these shall be helpful. http://forums.microsoft.com/MSDN/Sh ...Show All

  • Architecture OOP Design Question - Need an opinion...

    I know there is no "100% correct" way to design the following but any suggestions or shared opinions would be appreciated: I want to create a Customer business entity. Should this Customer class only contain properties and simple validation or should it also contain all the business logic and CRUD functions Should I create a separate class called CustomerService that handles logic by passing around and working with the Customer entity Example: How to add a new Customer 1) All domain logic in one Customer object . Customer.Name = "Bla" Customer.Save OR 2) Customer object to hold properties and Service object to perform business logic. Customer.Name = "Bla" CustomerFactory.AddCu ...Show All

  • SQL Server Backup hangs in wait-state MSSEARCH

    I'm experiencing a very annoying failure when trying to do a backup - I hope you can help where others (including me) have failed. The setup is a SharePoint Portal Server 2003 version 11.0.8126.0 running on Windows server 2003 Standard edition Service pack 1; it has a SQL-server 2005 version 9.0.2047 running on Windows server 2003 Standard edition Service pack as a back-end. When I issue a backup of the SharePoint database XXX_SITE which holds round 4 gb. of data (mainly documents) the backup process hangs with a Wait Type 'MSSEARCH', it makes no difference whether I issue it as a single job, or through a maintenance plan. I tried to stop the MsSearch service on the SharePoint-server, and disabled the Full-Text search on the data ...Show All

  • Visual Studio Express Editions Need help please

    Hi im new here and in need of some help. i had downloaded Visual Basic 2005 Express edition, and used it for a couple of months, i need it for a college unit i was compleating. but its been ages since i use dit again. now it asks me for a registration key!!!! how and where do i get this registration key i have checked all my e-mail and have recieved nothing, and now im stuck, i have no idea on what to do, because i now want to remove the program from my computer because its taking up 588mb and i dont even use VB anymore. but it wont remove, could this be because of the registration key I'm sure you can register it somewhere on the vb.net express website (google vb.net express)... but if all els ...Show All

  • Visual C# How to catch a file save on the fly?

    Hi! How can I know if a certain file is changed(saved) after someone changes the file immediately Is there an api or hook method that can be used to provide this Thanks. I think the filesystemwatcher can do this: http://msdn2.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx this is in .NET 2.0 everything is in that link :-) ...Show All

  • Software Development for Windows Vista Problem with DependencyProperty

    Hi I have this dep. prop. in a Custom Activity public static DependencyProperty SucceededProperty = DependencyProperty .Register( "Succeeded" , typeof ( bool ), typeof ( CreateCustomer )); [ DesignerSerializationVisibilityAttribute ( DesignerSerializationVisibility .Visible)] [ BrowsableAttribute ( true )] [ CategoryAttribute ( "Parameters" )] public bool Succeeded { get { return (bool)(base.GetValue(SucceededProperty)); } set { base .SetValue(SucceededProperty, value );} } In the Execute method i do something like this: Succeeded = true; But i does not seem to have any effect. How come And second. How do I do it right Thanks in regards Anders, DK ...Show All

  • Smart Device Development How to create a cab file or installer for NETCF with VS2005 for a device app

    hi, I need help in deploying (installing) a NETCF Device application that I compiled on VS2005 Standard in C#, I'm trying to find a guide on msdn, unfortunately I cant find a suitable one, I came to this url in mshelp help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_evtuv/html/36a418e2-ef99-4608-9258-11004c877891.htm it suggest to do the following To add a Smart Device CAB project to the solution Open the existing Smart Device Project and make sure that Solution Explorer is visible. On the File menu, point to Add, and then click New Project. The Add New Project dialog box appears. In the Project Types pane on the left, expand the Other Project Types node , and click Setup and Deployment. Under the Templates pane on the ...Show All

  • Internet Explorer Development How to retrieve address from Address Bar, change it and then send it back to Address Bar?

    Hi guys! How to retrieve an address of web-page from Address Bar in IE7, then change it w/ my own logic and then send it back to Address Bar in IE7 Thank you. Cheers, Dmitry Alekseenko Hi,   Different Question.... Use a BHO and manipulate the url parameter in the BeforeNavigate2 method. Regards. Another thing to try is to find the Address bar (class name Editbox) using the findwindow api and using a callback to detect the enter key, but I do not think this will work for all IE browsers as this has been addressed as a phishing issue in IE7 + you will still need a BHO to find each Editbox for each tab that is loaded. Regards. ...Show All

  • Community Chat it’s turbo c really back???

    this is an open question to all the people that wants to give an opinion about this topic, it’s turbo c really back It’s older than me but i have to use it. Do you agree that some teachers nowadays are trying to make us learn about some old program AndrewBadera wrote: mysteriously enough, my original replies in those threads got moderated into nothingness :( must have been a bug in the forum software! Well, you should know better than to pick on forums superstar "mcmarquez"! The 8 off-topic and almost completely incoherent threads he posted in his first 48 hours here were an example to us all. He posted for three days and then vanished, and hasn't posted once in the past 5 weeks. He's exactly the sort of poste ...Show All

©2008 Software Development Network