joshivaibhav's Q&A profile
Visual Basic Accessing Directory Sevices from a VB script
I'm trying to access Directory Services using VB from a Sql Server package. Not a VB programmer. Found this example in an SS online book. The code is this: Public Sub Main() Dim directory As DirectoryServices.DirectorySearcher Dim result As DirectoryServices.SearchResult Dim email As String email = Dts.Variables( "email" ).Value.ToString Try directory = New _ DirectoryServices.D ...Show All
SQL Server OK button not working...
I am trying to get MSSQL Reporting Services working. I have used it before, but now I have the opportunity to get the software entrenched in my organization. I installed the app and it opens up, but when I try to create a new folder the software will not allow the OK choice. I can cancel, but I need to choose OK. I have installed the app, SP2, and a hotfix that is on the website. Help.... Thanks. The button pres ...Show All
Visual C++ LNK2028
The following linker error LNK2028 unresolved token@@somethinggg ........ ,make sure that the member functions are inline (in the header not in the cpp)and that does away with the problem , bu tthe cpp does need to exist though. Using inline keyword does not work. Jared The help topic I see for LKN2028 http://msdn2.microsoft.com/en-us/library/ms235590.aspx Doesn't match your description above. C ...Show All
Windows Forms Working with MDI Windows
Hi, I have a few questions with my MDI Interface that i'm doing. first of all, I would like to do a MDIParent, that displays a log on window and if the parameters are correct, you can access to the application. Somehow, in this code t ...Show All
Visual Studio Express Editions Is The OOP Microsoft.VisualBasic.IIf Equivalent To the Procedural If Then?
Is the OOP Statement Microsoft.VisualBasic.IIf equivalent To the Procedural Statement If Then Thanks Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a As Integer = 0 Dim b As Integer = 1 Dim c As String = "True" Dim d As String = "False" Microsoft.VisualBasic.IIf(a < b, c, d) MessageBox.Show(c) MessageBox.S ...Show All
Visual C# Always visible on desktop but under all other windows, "widget"
I want to create a program that always is on top of the desktop but i don't want it to be on top of other programs. I have no idea where to start, i've tried the topmost-property of my form but it makes the program visible over all other programs. hi, i'm confused now , what do you mean by "always is on top of the desktop" do you mean not to be closed best regards ...Show All
Visual Studio Express Editions Missing x86 MFC in PlatformSDK
I installed VC++ Express Beta 2 yesterday, then the PlatformSDK 5.2.3790.1830.15.PlatformSDK_Svr2003SP1_rtm.img and i could not find any MFC libs for the x86! The MFC libs are only in the IA64 and AMD64 folders. Has anyone else had this problem Dave Kaplan, your posts were moved to the DirectX forum . ...Show All
Smart Device Development Trouble connecting to the Web Service
Hi, I know this issue has been raised many a times but i am still searching for the solution. I am working on a smart device application under VS 2005 .net deployment for the Pocket PC 2005. Well when i work on the emulator for connecting to the web service it displays Connection could not be established to the Network with the following error at runtime: A first chance exception of type 'System.Net.WebException' occurred in System.dll ...Show All
Visual Basic Creating arrays of controls in VB 2005. Help!
It seems that the easy and useful capability iof creating arrays of controls which can be indexed is not easy to do in the .NET environment. I ported a small application that had several arrays of textboxes and comboboxes, and checkboxes. The port worked well and did create arrays of all except the checkboxes. Now I am creating a new application and I want a number of columns of checkboxes. I'd like them to be arrayed so I can use the sa ...Show All
SQL Server FTP Task issue
The FTP Task I've created fails. It appears to be making the connection initially behind a firewall, but it suddenly switches from port 21 to port 3397. Anyone experience this issue Since my firewall is restricting the connection to just port 21, I can't make a permanent connection. FTP use 2 ports for it work - one for control connection (21) and one for data connection (any other, 3397 in your case, but may be ...Show All
SQL Server oracle connection manager configuration help
Hi, I dont know if I should post this question here, or on oracle forums, but here goes ... I made a simple package that performs 2 Excecute SQL Tasks, one task does a select query on a SQL Server DB Table, the other task does a select query on an Oracle DB Table. The package runs fine in BIDS when debugging, but when I deployed the package to a file system and added it to an sql server agent Job, it all went wrong ... I tried th ...Show All
SQL Server import tool
I was looking for an import tool that will import text, excel and access files into sql server express Does anyone have any suggestions Thanks Tom Tom, I'd like to import a .csv file as well. Do you know for certain that studio express doesn't have the ability I can't find it or references, so I just don't know if I'm looking in the wrong place or it can't do it. Have you found documentation stating that it can't M ...Show All
Visual Basic Status Strip - RTF Location
Hi All, Would like to know, what is the code for status strip text location. I am developing an advanced notepad for some customizing text etc. and cannot find code or examples anywhere of how to put a text label in the status strip for the text "Column" & "Row" location. Its basically the same as the windows notepad feature. Can anyone please help me with this. Thank You. Dim ...Show All
.NET Development How do you call methods inside an executable from another executable?
Is it possible in .net to reference .exe and call functions in the executable If so, how It seems you can only make references to .dll (class libs). I know it is possible in COM and preious versions of VS. It is so powerful, I can't believe it if it isn't possible yet under .NET. Visual Studio .NET 2002/2003 does not allow executables to be used as references, whereas Visual S ...Show All
Software Development for Windows Vista Soundmax Audio Driver and Windows Longhorn Beta 1
Hi, I have Soundmax driver installed on Windows Longhorn OS. When I use the sound recorder that comes with the OS (in the Startup->Entertainment section) and record through a microphone, my recording is okay. But if I use Wave out Mix as input pin and try recording from Windows Media Player to the Sound recorder that comes with the OS, it does not record. It changes my setting to microphone when I start recording automaticall ...Show All
