Subsonic 3 Work Virtual Basic .net Project?
Sep 15, 2009i download subsonic 3 today (subsonic 3 preview 2) but this don't work in vb project.i think because .tt file (for generation) is C# template so this don't generate vb code.
View 1 Repliesi download subsonic 3 today (subsonic 3 preview 2) but this don't work in vb project.i think because .tt file (for generation) is C# template so this don't generate vb code.
View 1 RepliesIs there an easy way to just ping a server by IP or URL and return the minimum, maximum and average milliseconds? Actually the same results I get in CMD when using the ping command. Can't find any tutorial that describes it. So let's say I have a Textbox1 and a Button1 and a Label1 for the results. How can I do it?
View 1 RepliesIk how to make a taskbar but how can i make it minimized and go to the taskbar as a icon and be able to open it up again the way it was?
Bonus Question: How can i make it savable so when you leave the os the settings will be the same as you left?
Bonus Question 2: How can i make a save document button?
this is my first time here and im a little lost - so i'm hoping this is the right area to post this (I have used other forums before, but jumping in and out of various msdn area's makes figruing out a site map very differcult at first).
View 1 RepliesProblem: i made a basic web-browser and i got it all to work except the URL bar... if i type something in and hit GO it works... but i want it to automatically tell me the URL of the website i'm on... the code i have tried was...
[Code]....
how do I fix my button to run?
View 4 RepliesI'm doing a baseball program for a class project. And I almost have it complete, but it's giving me a syntax error. I can't figure out what i'm doing wrong. I'm using two functions to return a value for different type of baseball tickets to the button that calculates them. Here are the instructions 1.)User selects whether to purchase season tickets or single-game tickets 2.) User enters the number of tickets needed and the type of seats based on whether they selected season single-game tickets.3.) User clicks the Compute Ticket Cost Button to display final cost4.) User clicks the Clear Form button to clear the responseI just can't figure out what I did wrong. I know it's something stupid that i'm doing.the errors are happening inside the btnCompute sub routine. with syntax erros on SingleGameCost() and SeasonalCost() line 114 and 118
Public Class Form1
'Global Variables
Dim intTicketChoice As Integer
[code]...
I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
All 4 XP users are on same service pack
I'm quite comfortable with VB and have a very large project i need to do. I've come across SubSonic and it looks awesome. I am not clear if i can use it in VB. I've seen a a couple of posts that suggest they did but on the site it specifically shows C#.Can I use SubSonic with VB.NET?
View 1 RepliesUsing Visual Basic in Visual Studio 2008. I have students zip the folder for a vb project and send it to me. Then I unzip and add it to a project of mine. It will not open any of their work as the path has changed. I can't even see the code. If they send me the code only then I have to recreate the forms. They also have problems saving it on a jump drive, then moving that jump drive to a different computer as the drive letter changes. I have looked for help and it states to go to icons that I can't find in studio 2008. Using the open existing project gives the same result as the path has changed. Is it impossible to give someone else an existing project? I have gone in the import/export options but have run out of guesses.
View 5 RepliesRun 6.0 project in window 7 home basic 64 bit?
xp.ocx controls are not registered
telling that how can i run a project of visual basic 6.0 on network(LAN) databse will be on 1 system only...
View 2 RepliesI am about to start up a new project using Visual Basic .Net Express 2008 and I was wondering if I should install and use Visual Basic .Net Express 2010 instead. I would like your opinion of 2010. My project isn't especially fancy. But an automatic adjustment for monitor size would be useful.
Does 2010 replace the existing VB Express? Do I have to convert my existing projects? I had problems with this going from 2005 to 2008.
I was at a class recently, and the instructor started a new Visual Studio 2008 project using a "COM project" template. Now that I'm back, I tried finding that template in my installation of VS2008 with no luck. Does anybody know where I can find that template, or failing that, what it might be doing to achieve its effect?
View 2 RepliesI was a COBOL programmer agout 15 years ago and I am now just getting into Visual Basic. The owner of a local business has asked me to write a program to perform what I think is a simple task. In the past the business would process payroll checks and print them in-house. Now they are using direct deposit. Checks are no longer printed. The check stub though is printed. This stub is then carried to each of 10 locations across West Tennessee and distributed to the employees.
This is my task: capture the stubs to a file (PDF, XPS) and email it to each employee. This way the employee will recieve the stub on the same day the deposit is made. I can capture the output file (the stubs) and save it as a PDF file or a XPS file. I can send an email from within a program. What I don't know how to do is open the PDF or XPS file, read the email address and insert the page into the email body.
I'm using vb2008 with DB MSA2007 (save it to MSA2003) on Seven(7)System After I create my project I build it(make exe). then I took the file of project (application) and the DB from Debug Folder.
I tried to run this application with DB on another computer it's system is seven and MSA2007 and work very well. then I run it on pc it's system XP and MSA2003. it showed this error
Application Error THE APPLICATION FAILED TO INTIALIZE PROPERLY (0XC000135). Click on OK to terminate the application
I am trying to get subsonic to run work in a webservice I am not sure how to return the data. I only get the word Object in my results when It return anything instead of values. What am I missing?
<WebMethod(Description:="Method to retrieveCptCode subsonic List")> _
Public Function GetSubCptCodes() As CPTCodeCollection
Dim coll As CPTCodeCollection = New CPTCodeCollection()
Dim qry As Query = New Query(CPTCode.Schema)
coll.LoadAndCloseReader(qry.ExecuteReader())
Return coll
End Function
some idea to how to run VB project using Java.
View 3 RepliesI want other programmers to critique my applications so I know what neeeds to be improved, But that cant be done if I just show the source code. Is it possible to upload a whole Visual Basic project to a thread?
Brandon Jimenez
I make a program-application in visual basic and it work OK. When I pack my application in setup project and make the installation, the database(in program) it did not save a new data or any update. Where is a mistake ?
View 3 RepliesI converted one of my projects from Visual Basic 6.0 to Visual Basic.NET and noticed stuff such as:
Quote:
'UPGRADE_WARNING: Structure PROCESS_INFORMATION may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"'
'UPGRADE_WARNING: Structure STARTUPINFO may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"'
Clicking on the link it talking about Imports System.Runtime.InteropServices. Which, I am guessing means the project a mixture of both .NET and .COM. How would I rewrite to be totally .Net compatible instead of relying on .COM?Also where would I put code in VB.NET if it was in the Form_Initialize() sub in VB6.0?
Better Explaination of question: Is it possible to work on the same vb project at the same time?
I searched over google for help and I found a forum but it looked very complicated and I diden't feel like screw stuff p so can someone please give me a link or tell me how?
If i use custom images in my programs from my pc. After i publish this and give it to my friends they get errors due to them not having the images. How do i go about adding the images to the application or just generally how you resolve this?
View 7 RepliesI use a Vb 2008. I make connection with DB Ms Access2007. it show me this error couldn't find....... DBthen I change the DB Ms Access2007 to MS Access2003, and it works very well
View 9 RepliesI made a small windows project under visual studio 2010, It working perfectly with
windows 7 , when I tried to run it under XP didn't work :-(
what can I do to have it work in both windows 7 and windows XP , or at least to work under
Followed Rob's webcast, did as he did, watched T4 generate the code, went to use the new namespace and oh. No namespace. I can see the namespace Test.Data in each of the generated .cs files, the tt files are included in the project as is subsonic.dll, there are no errors (I managed to get rid of a warning for the duplicate directives) but I just can't see the namespace. To test it out I am building a simple vb.net console application so wondering if there is a conflict there. Using v2.2 against the same db works fine.
View 1 Replies[code] will both give the error "The method 'CompareString' is not supported". If I make the same call searching for an integer (ID field) it works fine. .SingleOrDefault (Function(x As Account) x.Id = 12)So interger matching is fine but strings don't work Is this a problem with the VB.net templates?
View 3 RepliesI am trying to save changes to a record, however I am getting the error
[code]...
I am using Subonic in a VB.net application for the first time (I have used it succesfully in a WebSite project plenty of times). I followed the 2nd part of the 'Getting Started' video to actually generate the DAL source files as opposed to the build provider method and everything APPEARS to have gone like expected. However, nothing I do will get my generated namespace to appear. I feel that it has to with the fact that I am running my Web Application in VB.Net and Subsonic generates in C#.
Here is the process I followed:
1) I created a blank Web Application Project in Visual Studio
2) I configured the web.config to have the necessary parts, connection strings, etc.
3) I ran subcommander and it generated all the classes I needed into a folder called DAL.
4) I built the Web Application Project
5) I opened up a code behind, typed 'Imports' and I do not see the namespace that was generated.
I have even opened the actual Subsonic Source files and seen that there is a namespace statement for the generated namespace I configured. I tried briefly to move the subsonic files to a separate class library project, compile the .dll and use that in my project, but it still did not work.
Just curious. I recently had an incident in which I was called to troubleshoot a VB Winforms app. I have 2 versions of a package (LeadTools) installed on my machine. These packages contain numerous dlls and it is not unusual for a dozen or more to be referenced in a single program.
[Code]...